summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2017-10-18 04:37:36 +0300
committerJiri Kosina <jkosina@suse.cz>2017-10-19 11:03:50 +0300
commitef14a4bf0910d06c7e202552914028d4956809cb (patch)
tree168d34355b77bdf9cedc918e7fbd2ffd4a28e18d /tools/perf/scripts/python/export-to-sqlite.py
parent1fc26792b6e3bb270313063a33b6e5ffd315440b (diff)
downloadlinux-ef14a4bf0910d06c7e202552914028d4956809cb.tar.xz
HID: rmi: Check that a device is a RMI device before calling RMI functions
The hid-rmi driver may handle non rmi devices on composite USB devices. Callbacks need to make sure that the current device is a RMI device before calling RMI specific functions. Most callbacks already have this check, but this patch adds checks to the remaining callbacks. Reported-by: Hendrik Langer <hendrik.langer@gmx.de> Tested-by: Hendrik Langer <hendrik.langer@gmx.de> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions