diff mbox

[v2] input: touchscreen: atmel_mxt_ts: add T100 as a readable object

Message ID 1495034973-30806-1-git-send-email-maxime.roussinbelanger@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Maxime Roussin-Bélanger May 17, 2017, 3:29 p.m. UTC
When using the 'object' sysfs attribute, T100 is not displayed in
the output.

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
--
Changes in v2:
  - Fix commit description 'sysfs file' to 'sysfs attribute'.-

 drivers/input/touchscreen/atmel_mxt_ts.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov May 19, 2017, 9:59 p.m. UTC | #1
On Wed, May 17, 2017 at 11:29:33AM -0400, Maxime Roussin-Bélanger wrote:
> When using the 'object' sysfs attribute, T100 is not displayed in
> the output.
> 
> Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
> --

Applied, thank you.

> Changes in v2:
>   - Fix commit description 'sysfs file' to 'sysfs attribute'.-
> 
>  drivers/input/touchscreen/atmel_mxt_ts.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
> index e5d185f..090725e 100644
> --- a/drivers/input/touchscreen/atmel_mxt_ts.c
> +++ b/drivers/input/touchscreen/atmel_mxt_ts.c
> @@ -350,6 +350,7 @@ static bool mxt_object_readable(unsigned int type)
>  	case MXT_TOUCH_KEYARRAY_T15:
>  	case MXT_TOUCH_PROXIMITY_T23:
>  	case MXT_TOUCH_PROXKEY_T52:
> +	case MXT_TOUCH_MULTITOUCHSCREEN_T100:
>  	case MXT_PROCI_GRIPFACE_T20:
>  	case MXT_PROCG_NOISE_T22:
>  	case MXT_PROCI_ONETOUCH_T24:
> -- 
> 2.1.4
>
diff mbox

Patch

diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index e5d185f..090725e 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -350,6 +350,7 @@  static bool mxt_object_readable(unsigned int type)
 	case MXT_TOUCH_KEYARRAY_T15:
 	case MXT_TOUCH_PROXIMITY_T23:
 	case MXT_TOUCH_PROXKEY_T52:
+	case MXT_TOUCH_MULTITOUCHSCREEN_T100:
 	case MXT_PROCI_GRIPFACE_T20:
 	case MXT_PROCG_NOISE_T22:
 	case MXT_PROCI_ONETOUCH_T24: