]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ili210x - use one common reset implementation
authorMarek Vasut <marex@denx.de>
Wed, 18 May 2022 21:30:09 +0000 (14:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 18 May 2022 21:31:31 +0000 (14:31 -0700)
commitc97402d02711ab00dd2ee636d9683cb4c38ec841
tree39b77727260d5f6da33ebd6386c7eea46bfdae2f
parente995dd92935d5b03ac8709e7fc5802f70dc0d7dd
Input: ili210x - use one common reset implementation

Rename ili251x_hardware_reset() to ili210x_hardware_reset(), change its
parameter from struct device * to struct gpio_desc *, and use it as one
single consistent reset implementation all over the driver. Also increase
the minimum reset duration to 12ms, to make sure the reset is really
within the spec.

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220518210423.106555-1-marex@denx.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ili210x.c