]> 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)
commitb26ff9137183309c18cdfe931e1cafcf3c1a980d
tree39b77727260d5f6da33ebd6386c7eea46bfdae2f
parente4920d42ce0e9c8aafb7f64b6d9d4ae02161e51e
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