diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-02-10 18:31:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 12:13:23 -0300 |
commit | 7b802ce7e8c67510389fdbbe29edd87a75df3a93 (patch) | |
tree | f6395010073c5232f5dfa22f47f5bd812ed8d79f /drivers/hid/hid-roccat-kovaplus.h | |
parent | f61e2268a06c3ea7354a1f4b3d878bedb8b776b1 (diff) |
[media] rc-main: store_filter: pass errors to userland
Propagate errors returned by drivers from the s_filter callback back to
userland when updating scancode filters. This allows userland to see
when the filter couldn't be updated, usually because it's not a valid
filter for the hardware.
Previously the filter was being updated conditionally on success of
s_filter, but the write always reported success back to userland.
Reported-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/hid/hid-roccat-kovaplus.h')
0 files changed, 0 insertions, 0 deletions