aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/tablet/wacom_wac.c')
-rw-r--r--drivers/input/tablet/wacom_wac.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index cecd35c8f0b..b327790e9a0 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -76,7 +76,8 @@ static int wacom_pl_irq(struct wacom_wac *wacom)
76 int prox, pressure; 76 int prox, pressure;
77 77
78 if (data[0] != WACOM_REPORT_PENABLED) { 78 if (data[0] != WACOM_REPORT_PENABLED) {
79 dbg("wacom_pl_irq: received unknown report #%d", data[0]); 79 dev_dbg(&input->dev,
80 "wacom_pl_irq: received unknown report #%d\n", data[0]);
80 return 0; 81 return 0;
81 } 82 }
82 83
@@ -175,7 +176,7 @@ static int wacom_dtu_irq(struct wacom_wac *wacom)
175 struct input_dev *input = wacom->input; 176 struct input_dev *input = wacom->input;
176 int prox = data[1] & 0x20, pressure; 177 int prox = data[1] & 0x20, pressure;
177 178
178 dbg("wacom_dtu_irq: received report #%d", data[0]); 179 dev_dbg(&input->dev, "wacom_dtu_irq: received report #%d\n", data[0]);
179 180
180 if (prox) { 181 if (prox) {
181 /* Going into proximity select tool */ 182 /* Going into proximity select tool */
@@ -211,7 +212,9 @@ static int wacom_graphire_irq(struct wacom_wac *wacom)
211 int retval = 0; 212 int retval = 0;
212 213
213 if (data[0] != WACOM_REPORT_PENABLED) { 214 if (data[0] != WACOM_REPORT_PENABLED) {
214 dbg("wacom_graphire_irq: received unknown report #%d", data[0]); 215 dev_dbg(&input->dev,
216 "wacom_graphire_irq: received unknown report #%d\n",
217 data[0]);
215 goto exit; 218 goto exit;
216 } 219 }
217 220
@@ -484,7 +487,9 @@ static int wacom_intuos_irq(struct wacom_wac *wacom)
484 487
485 if (data[0] != WACOM_REPORT_PENABLED && data[0] != WACOM_REPORT_INTUOSREAD 488 if (data[0] != WACOM_REPORT_PENABLED && data[0] != WACOM_REPORT_INTUOSREAD
486 && data[0] != WACOM_REPORT_INTUOSWRITE && data[0] != WACOM_REPORT_INTUOSPAD) { 489 && data[0] != WACOM_REPORT_INTUOSWRITE && data[0] != WACOM_REPORT_INTUOSPAD) {
487 dbg("wacom_intuos_irq: received unknown report #%d", data[0]); 490 dev_dbg(&input->dev,
491 "wacom_intuos_irq: received unknown report #%d\n",
492 data[0]);
488 return 0; 493 return 0;
489 } 494 }
490 495
@@ -830,7 +835,8 @@ static int wacom_tpc_irq(struct wacom_wac *wacom, size_t len)
830{ 835{
831 char *data = wacom->data; 836 char *data = wacom->data;
832 837
833 dbg("wacom_tpc_irq: received report #%d", data[0]); 838 dev_dbg(&wacom->input->dev, "wacom_tpc_irq: received report #%d\n",
839 data[0]);
834 840
835 switch (len) { 841 switch (len) {
836 case WACOM_PKGLEN_TPC1FG: 842 case WACOM_PKGLEN_TPC1FG: