]> 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)
commit72709b3563e66ac397828fd27a56e80259c1c43e
tree39b77727260d5f6da33ebd6386c7eea46bfdae2f
parent5e9b3c25c1b0f91788f279f90320187bfe54e222
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