Input: novatek-nvt-ts - fix input_register_device() failure error message
Subsystems (3)
PATCH RESEND 1/2 Input: novatek-nvt-ts - fix input_register_device() failure error message
Fix input_register_device() failure logging "failed to request irq" as error message.
--- drivers/input/touchscreen/novatek-nvt-ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/touchscreen/novatek-nvt-ts.c +1 -1
@@ -272,7 +272,7 @@ static int nvt_ts_probe(struct i2c_client *client) error =input_register_device (input);if (error) { -dev_err (dev,"failed to request irq: %d\n" , error); +dev_err (dev,"failed to register input device: %d\n" , error);return error; }
Signature · 1 line
2.41.0
PATCH RESEND 2/2 Input: novatek-nvt-ts - add touchscreen model number to description
A phoronix forum member actual found documentation on what the model number for the touchscreen controller on the Acer Iconia One 7 B1-750 is.
Update the driver's description to include this.
--- drivers/input/touchscreen/Kconfig | 4 ++-- drivers/input/touchscreen/novatek-nvt-ts.c | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-)
drivers/input/touchscreen/Kconfig +2 -2
@@ -655,10 +655,10 @@ config TOUCHSCREEN_MTOUCH module will be called mtouch. config TOUCHSCREEN_NOVATEK_NVT_TS - tristate "Novatek NVT-ts touchscreen support" + tristate "Novatek NT11205 touchscreen support" depends on I2C help - Say Y here if you have a Novatek NVT-ts touchscreen. + Say Y here if you have a Novatek NT11205 touchscreen. If unsure, say N. To compile this driver as a module, choose M here: the
drivers/input/touchscreen/novatek-nvt-ts.c +3 -5
@@ -1,9 +1,7 @@// SPDX-License-Identifier: GPL-2.0-or-later /* -* Driver for Novatek i2c touchscreen controller as found on -* the Acer Iconia One 7 B1-750 tablet. The Touchscreen controller -* model-number is unknown. Android calls this a "NVT-ts" touchscreen, -* but that may apply to other Novatek controller models too. +* Driver for Novatek NT11205 i2c touchscreen controller as found +* on the Acer Iconia One 7 B1-750 tablet. * * Copyright (c) 2023 Hans de Goede <[email protected]> */
@@ -296,6 +294,6 @@ static struct i2c_driver nvt_ts_driver = {module_i2c_driver (nvt_ts_driver); -MODULE_DESCRIPTION ("Novatek NVT-ts touchscreen driver" ); +MODULE_DESCRIPTION ("Novatek NT11205 touchscreen driver" );MODULE_AUTHOR ("Hans de Goede <[email protected]>" );MODULE_LICENSE ("GPL" );
Signature · 1 line
2.41.0
Re: [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description
Quoted 7 lines · Hans de Goede
A phoronix forum member actual found documentation on what the model number for the touchscreen controller on the Acer Iconia One 7 B1-750 is.
Update the driver's description to include this.
Applied, thank you.
Signature · 1 line
Dmitry
Quoted 5 lines · Hans de Goede
Fix
input_register_device()failure logging "failed to request irq" as error message.Reviewed-by Peter Hutterer <[email protected]>Signed-off-by Hans de Goede <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry