HID: clean up quirk for Sony RF receivers
authorFernando Luis Vázquez Cao <fernando_b1@lab.ntt.co.jp>
Tue, 22 Jan 2013 06:20:38 +0000 (15:20 +0900)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Jan 2013 10:06:24 +0000 (11:06 +0100)
commit99d249021abd4341771523ed8dd7946276103432
treeff4d0c1c8fa4bdd19bb627aebc3c9789ce0b5844
parenta464918419f94a0043d2f549d6defb4c3f69f68a
HID: clean up quirk for Sony RF receivers

Document what the fix-up is does and make it more robust by ensuring
that it is only applied to the USB interface that corresponds to the
mouse (sony_report_fixup() is called once per interface during probing).

Cc: linux-input@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c