Searched hist:fba8a6f2263bc54683cf3fd75df4dbd5d041c195 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/leds/blink/ |
H A D | leds-lgm-sso.c | diff fba8a6f2263bc54683cf3fd75df4dbd5d041c195 Mon May 10 04:50:24 CDT 2021 Andy Shevchenko <andy.shevchenko@gmail.com> 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: c3987cd2bca3 ("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>
|