]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/input/touchscreen/zylonite-wm97xx.c
Input: cy8ctmg100_ts - signedness bug
[karo-tx-linux.git] / drivers / input / touchscreen / zylonite-wm97xx.c
index eca54dbdf4937386c179d928b22e90a739bbc54c..0488498676436938a7336fcb7eb1b8fa34bbc6fe 100644 (file)
@@ -118,6 +118,9 @@ static int wm97xx_acc_pen_down(struct wm97xx *wm)
                if (pressure)
                        p = MODR;
 
+               dev_dbg(wm->dev, "Raw coordinates: x=%x, y=%x, p=%x\n",
+                       x, y, p);
+
                /* are samples valid */
                if ((x & WM97XX_ADCSRC_MASK) != WM97XX_ADCSEL_X ||
                    (y & WM97XX_ADCSRC_MASK) != WM97XX_ADCSEL_Y ||