diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2021-04-20 21:30:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-14 13:50:59 +0200 |
commit | 2962484dfef8dbb7f9059822bc26ce8a04d0e47c (patch) | |
tree | 4078ab7c8948253b0ac45866495e5a2b85997b9a /lib | |
parent | 0b0226be3a52dadd965644bc52a807961c2c26df (diff) | |
download | linux-2962484dfef8dbb7f9059822bc26ce8a04d0e47c.tar.bz2 |
misc: eeprom: at24: check suspend status before disable regulator
cd5676db0574 ("misc: eeprom: at24: support pm_runtime control") disables
regulator in runtime suspend. If runtime suspend is called before
regulator disable, it will results in regulator unbalanced disabling.
Fixes: cd5676db0574 ("misc: eeprom: at24: support pm_runtime control")
Cc: stable <stable@vger.kernel.org>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20210420133050.377209-1-hsinyi@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions