)]}' { "commit": "77dc2db6d1d2703ee4e83d4b3dbecf4e06a910e6", "tree": "f8ff9b87a63409bd774a9723e2c5b3b546d91134", "parents": [ "4b8447184ae85de4ce710e5f561fbaada21b8394" ], "author": { "name": "Mark Assad", "email": "massad@gmail.com", "time": "Thu Oct 05 12:25:05 2006 +1000" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@g5.osdl.org", "time": "Wed Oct 04 19:44:36 2006 -0700" }, "message": "[PATCH] itmtouch: fix inverted flag to indicate touch location correctly, correct white space\n\nThere is a bug in the current version of the itmtouch USB touchscreen\ndriver. The if statment that checks if pressure is being applied to the\ntouch screen is now missing a ! (not), so events are no longer being\nreported correctly.\n\nThe original source code for this line was as follows:\n\n\t#define UCP(x) ((unsigned char*)(x))\n\t#define UCOM(x,y,z) ((UCP((x)-\u003etransfer_buffer)[y]) \u0026 (z))\n\n\t...\n\tif (!UCOM(urb, 7, 0x20)) {\n\nAnd was cleaned to:\n\n\tunsigned char *data \u003d urb-\u003etransfer_buffer;\n\t....\n\t if (data[7] \u0026 0x20) {\n\n(note the lack of \u0027!\u0027)\n\nThis has been tested on an LG L1510BF and an LG1510SF touch screen.\n\nSigned-off-by: Mark Assad \u003cmassad@gmail.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "61966d719ca3c577e7c8f4cdbe2999da6dbac0f9", "old_mode": 33188, "old_path": "drivers/usb/input/itmtouch.c", "new_id": "f3e3080de5b5208a54299baedc0489bfc6090cea", "new_mode": 33188, "new_path": "drivers/usb/input/itmtouch.c" } ] }