OpenCloudOS-Kernel/drivers/leds/blink
Andy Shevchenko fba8a6f226 leds: lgm-sso: Fix clock handling
The clock handling has a few issues:
 - when getting second clock fails, the first one left prepared and enabled
 - on ->remove() clocks are unprepared and disabled twice

Fix all these by converting to use bulk clock operations since both clocks
are mandatory.

Fixes: c3987cd2bc ("leds: lgm: Add LED controller driver for LGM SoC")
Cc: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
2021-05-28 12:00:00 +02:00
..
Kconfig leds: LEDS_BLINK_LGM should depend on X86 2021-04-25 22:56:42 +02:00
Makefile leds: lgm: Improve Kconfig help 2021-03-25 11:37:41 +01:00
leds-lgm-sso.c leds: lgm-sso: Fix clock handling 2021-05-28 12:00:00 +02:00