* [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message
@ 2023-07-10 12:36 Hans de Goede
2023-07-10 12:36 ` [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description Hans de Goede
2023-07-10 18:50 ` [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Dmitry Torokhov
0 siblings, 2 replies; 4+ messages in thread
From: Hans de Goede @ 2023-07-10 12:36 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Hans de Goede, linux-input, Peter Hutterer
Fix input_register_device() failure logging "failed to request irq"
as error message.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/input/touchscreen/novatek-nvt-ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/novatek-nvt-ts.c b/drivers/input/touchscreen/novatek-nvt-ts.c
index 7f7d879aac6d..047e371448ce 100644
--- a/drivers/input/touchscreen/novatek-nvt-ts.c
+++ b/drivers/input/touchscreen/novatek-nvt-ts.c
@@ -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;
}
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description
2023-07-10 12:36 [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Hans de Goede
@ 2023-07-10 12:36 ` Hans de Goede
2023-07-10 18:51 ` Dmitry Torokhov
2023-07-10 18:50 ` [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Dmitry Torokhov
1 sibling, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2023-07-10 12:36 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Hans de Goede, linux-input
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.
Link: https://www.phoronix.com/forums/forum/hardware/general-hardware/1382535-10-years-later-linux-getting-a-touchscreen-driver-for-a-once-popular-tablet?p=1384707#post1384707
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/input/touchscreen/Kconfig | 4 ++--
drivers/input/touchscreen/novatek-nvt-ts.c | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index c2cbd332af1d..fb4c23917b69 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -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
diff --git a/drivers/input/touchscreen/novatek-nvt-ts.c b/drivers/input/touchscreen/novatek-nvt-ts.c
index 047e371448ce..1a797e410a3f 100644
--- a/drivers/input/touchscreen/novatek-nvt-ts.c
+++ b/drivers/input/touchscreen/novatek-nvt-ts.c
@@ -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 <hdegoede@redhat.com>
*/
@@ -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 <hdegoede@redhat.com>");
MODULE_LICENSE("GPL");
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message
2023-07-10 12:36 [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Hans de Goede
2023-07-10 12:36 ` [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description Hans de Goede
@ 2023-07-10 18:50 ` Dmitry Torokhov
1 sibling, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2023-07-10 18:50 UTC (permalink / raw)
To: Hans de Goede; +Cc: linux-input, Peter Hutterer
On Mon, Jul 10, 2023 at 02:36:32PM +0200, Hans de Goede wrote:
> Fix input_register_device() failure logging "failed to request irq"
> as error message.
>
> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description
2023-07-10 12:36 ` [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description Hans de Goede
@ 2023-07-10 18:51 ` Dmitry Torokhov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2023-07-10 18:51 UTC (permalink / raw)
To: Hans de Goede; +Cc: linux-input
On Mon, Jul 10, 2023 at 02:36:33PM +0200, Hans de Goede wrote:
> 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.
>
> Link: https://www.phoronix.com/forums/forum/hardware/general-hardware/1382535-10-years-later-linux-getting-a-touchscreen-driver-for-a-once-popular-tablet?p=1384707#post1384707
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-10 18:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10 12:36 [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Hans de Goede
2023-07-10 12:36 ` [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description Hans de Goede
2023-07-10 18:51 ` Dmitry Torokhov
2023-07-10 18:50 ` [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).