diff options
| author | Hans de Goede <[email protected]> | 2022-03-01 07:39:38 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2022-03-02 04:41:20 +0000 |
| commit | 81a36d8ce554b82b0a08e2b95d0bd44fcbff339b (patch) | |
| tree | 67c8099221ef6c3bc02916f42b82ea926ab1cecf /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | Input: goodix - workaround Cherry Trail devices with a bogus ACPI Interrupt()... (diff) | |
| download | kernel-81a36d8ce554b82b0a08e2b95d0bd44fcbff339b.tar.gz kernel-81a36d8ce554b82b0a08e2b95d0bd44fcbff339b.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
