This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: add missing blob structure field for tag id
Author:  Florian Echtler <f...@butterbrot.org>
Date:    Thu Feb 8 03:43:03 2018 -0500

The SUR40 can recognize specific printed patterns directly in hardware;
this information (i.e. the pattern id) is present but currently unused
in the blob structure.

Signed-off-by: Florian Echtler <f...@butterbrot.org>
Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/input/touchscreen/sur40.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

---

diff --git a/drivers/input/touchscreen/sur40.c 
b/drivers/input/touchscreen/sur40.c
index f16f8358c70a..8375b06ba837 100644
--- a/drivers/input/touchscreen/sur40.c
+++ b/drivers/input/touchscreen/sur40.c
@@ -81,7 +81,10 @@ struct sur40_blob {
 
        __le32 area;       /* size in pixels/pressure (?) */
 
-       u8 padding[32];
+       u8 padding[24];
+
+       __le32 tag_id;     /* valid when type == 0x04 (SUR40_TAG) */
+       __le32 unknown;
 
 } __packed;
 

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to