Commit aa6fd83c authored by Raj Pandey's avatar Raj Pandey
Browse files

drivers: input: touchscreen: vdd_ana regulator fix



Due to android resume after boot, touch driver was
getting DRM notifier for resume and enabling the
regulators which was resulting in incrementing
reference count.
Since regulators were getting enabled during probe
additional resume without a corresponding suspend
was resulting in additional use count, keeping the
regulator ON which was causing additional current.
This change is fixing the issue by enabling the
regulator only if regulator was not enabled.
Also added a delay for regulators to quiesce or
ramp up properly.

Change-Id: Iea4cb26f1bcaa5f5111fba3a66d18399e4ac0ff9
Signed-off-by: default avatarRaj Pandey <quic_rajpande@quicinc.com>
parent 16e3c91b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment