aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2022-02-28 23:39:38 -0800
committerDmitry Torokhov <[email protected]>2022-03-01 20:41:20 -0800
commit81a36d8ce554b82b0a08e2b95d0bd44fcbff339b (patch)
tree67c8099221ef6c3bc02916f42b82ea926ab1cecf /net/lapb/lapb_in.c
parentd982992669733dd75520000c6057d8ee0725a363 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] [dtor: consolidate elan_[en|dis]able() into elan_set_power()] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions