diff mbox

Fix touch support for wacom bamboo fun CTH-461

Message ID 3305232.JQ4fXkYdWp@diego-arch (mailing list archive)
State New, archived
Headers show

Commit Message

Diego Calleja Dec. 3, 2012, 11:56 p.m. UTC
Commit f393ee2b814e3291c12565000210b3cf10aa5c1d forgot to add the
touch_max property for wacom bamboo fun CTH-461/S, id 056a:00d2.

This broke the touch functionality for that device. This patch,
(done with help of Ping Cheng), adds the correct value and makes
touch work again.

(Note: this problem exists since 3.5, so it may be a candidate for
-stable)


Signed-off-by: Diego Calleja <diegocg@gmail.com>
---
 drivers/input/tablet/wacom_wac.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Dmitry Torokhov Dec. 4, 2012, 5:22 a.m. UTC | #1
On Mon, Dec 03, 2012 at 04:26:23PM -0800, Ping Cheng wrote:
> On Mon, Dec 3, 2012 at 3:56 PM, Diego Calleja <diegocg@gmail.com> wrote:
> 
> > Commit f393ee2b814e3291c12565000210b3cf10aa5c1d forgot to add the
> > touch_max property for wacom bamboo fun CTH-461/S, id 056a:00d2.
> >
> > This broke the touch functionality for that device. This patch,
> > (done with help of Ping Cheng), adds the correct value and makes
> > touch work again.
> >
> > (Note: this problem exists since 3.5, so it may be a candidate for
> > -stable)
> >
> >
> > Signed-off-by: Diego Calleja <diegocg@gmail.com>
> >
> 
> Thank you Diego for finding and fixing the issue.
> 
> Reviewed-by: Ping Cheng <pinglinux@gmail.com>

Applied, thanks Diego and Ping.
diff mbox

Patch

Index: linux/drivers/input/tablet/wacom_wac.c
===================================================================
--- linux.orig/drivers/input/tablet/wacom_wac.c
+++ linux/drivers/input/tablet/wacom_wac.c
@@ -2034,7 +2034,8 @@  static const struct wacom_features wacom
 	  .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD2 =
 	{ "Wacom Bamboo Craft",   WACOM_PKGLEN_BBFUN,     14720,  9200, 1023,
-	  31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
+	  31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,
+	  .touch_max = 2 };
 static const struct wacom_features wacom_features_0xD3 =
 	{ "Wacom Bamboo 2FG 6x8", WACOM_PKGLEN_BBFUN,     21648, 13700, 1023,
 	  31, BAMBOO_PT, WACOM_INTUOS_RES, WACOM_INTUOS_RES,