From: Jason Gerecke Date: Tue, 23 Sep 2014 18:09:28 +0000 (-0700) Subject: HID: input: Fix TransducerSerialNumber implementation X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5989a55a4c9aafba8b152c6bf52244510c2b88b9;p=pandora-kernel.git HID: input: Fix TransducerSerialNumber implementation The commit which introduced TransducerSerialNumber (368c966) is missing two crucial implementation details. Firstly, the commit does not set the type/code/bit/max fields as expected later down the code which can cause the driver to crash when a tablet with this usage is connected. Secondly, the call to 'set_bit' causes MSC_PULSELED to be sent instead of the expected MSC_SERIAL. This commit addreses both issues. Signed-off-by: Jason Gerecke Reviewed-by: Benjamin Tissoires Reviewed-by: Ping Cheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed