summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-03-01 10:39:38 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-03-02 07:41:20 +0300
commit81a36d8ce554b82b0a08e2b95d0bd44fcbff339b (patch)
tree67c8099221ef6c3bc02916f42b82ea926ab1cecf /drivers/mailbox
parentd982992669733dd75520000c6057d8ee0725a363 (diff)
downloadlinux-81a36d8ce554b82b0a08e2b95d0bd44fcbff339b.tar.xz
Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
elan_disable_power() is called conditionally on suspend, where as elan_enable_power() is always called on resume. This leads to an imbalance in the regulator's enable count. Move the regulator_[en|dis]able() calls out of elan_[en|dis]able_power() in preparation of fixing this. No functional changes intended. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220131135436.29638-1-hdegoede@redhat.com [dtor: consolidate elan_[en|dis]able() into elan_set_power()] Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions