diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-10 12:50:24 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 12:00:00 +0200 |
commit | fba8a6f2263bc54683cf3fd75df4dbd5d041c195 (patch) | |
tree | b46b6e433a0d093da048063f1465ac36911e19ce /lib | |
parent | a43a4e588e72bafc81924d61bf1167cd6810ecbb (diff) |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions