diff options
author | Andrew Duggan <[email protected]> | 2017-10-17 18:37:36 -0700 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2017-10-19 10:03:50 +0200 |
commit | ef14a4bf0910d06c7e202552914028d4956809cb (patch) | |
tree | 168d34355b77bdf9cedc918e7fbd2ffd4a28e18d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1fc26792b6e3bb270313063a33b6e5ffd315440b (diff) |
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 <[email protected]>
Tested-by: Hendrik Langer <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Andrew Duggan <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions