Input: wacom - add reporting of SW_MUTE_DEVICE events
authorPing Cheng <pinglinux@gmail.com>
Thu, 5 Dec 2013 20:54:53 +0000 (12:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Mar 2014 17:05:16 +0000 (10:05 -0700)
commit37a5b5f89fe4e8367fb123b1892d79f0234a2903
tree3043638c37e559b41de6bf42839d9563570c25a8
parent06061059d864805dde35b8c341720b4611b9b556
Input: wacom - add reporting of SW_MUTE_DEVICE events

commit 961794a00eab03f4344b7d5e825e8e789e55da87 upstream.

New Intuos series models added a hardware switch to turn touch
data on/off. The state of the switch is reported periodically
from the tablet. To report the state the driver will emit SW_MUTE_DEVICE
events.

Reviewed_by: Chris Bagwell <chris@cnpbagwell.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/tablet/wacom_sys.c
drivers/input/tablet/wacom_wac.c
drivers/input/tablet/wacom_wac.h