diff options
author | Andy Shevchenko <[email protected]> | 2021-05-10 12:50:24 +0300 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2021-05-28 12:00:00 +0200 |
commit | fba8a6f2263bc54683cf3fd75df4dbd5d041c195 (patch) | |
tree | b46b6e433a0d093da048063f1465ac36911e19ce /lib/mpi/mpi-sub-ui.c | |
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 <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions