diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-11 10:27:12 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-04 18:10:40 -0700 |
commit | d95f0c4e5b5350c1b0ba0280004449cba79cb2ad (patch) | |
tree | 07c316279d70200923dccd9211440e51434da154 /scripts/lib/kdoc/kdoc_output.py | |
parent | 8bd2aa8529aca1f39bc2bfac4f68adc47c6bd1d7 (diff) |
Input: tsc2004/5 - fix handling of VIO power supply
The chip needs to be powered up before calling tsc200x_stop_scan() which
communicates with it; move the call to enable the regulator earlier in
tsc200x_probe().
At the same time switch to using devm_regulator_get_enable() to simplify
error handling. This also makes sure that regulator is not shut off too
early when unbinding the driver.
Link: https://lore.kernel.org/r/20240711172719.1248373-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions