aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-07-11 10:27:14 -0700
committerDmitry Torokhov <[email protected]>2024-08-04 18:10:40 -0700
commitf56b591880ff88f2107d5fe05fa6e1b9c804fb26 (patch)
treeb593bc7c04e101775eb17ae0e731c361165de9ad /tools/perf/scripts/python
parent075c777ed7b2a02a9af7345dd55ee0b4794cd5eb (diff)
Input: tsc2004/5 - fix reset handling on probe
When the driver has been converted to use gpiod API it was requesting and asserting the reset on probe, but never deasserted it. However because of incorrect annotations in device tree marking reset line as active high whereas in reality it is active low, the end result was that the chip was never reset on probe. With polarity of the reset line now corrected this became a problem. Fix this by calling tsc200x_reset() from tsc200x_probe() to properly complete the reset sequence and move requesting the reset GPIO and VIO supply closer to the point where we need to start talking to the hardware. Fixes: d257f2980feb ("Input: tsc2005 - convert to gpiod") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions