diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2011-08-06 18:18:10 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-22 10:52:35 -0300 |
commit | 0224e0401f0b18e1f5fce010558b12fc24257e37 (patch) | |
tree | 001a666bf845e51d63e1e73c52cecbc8f7b304d6 /drivers/media/rc/keymaps/rc-purpletv.c | |
parent | 44fd0b600fbc21de9d771f0a5db79d24b321fce7 (diff) |
[media] ati_remote: fix check for a weird byte
The ati_remote_dump() function tries to not print "Weird byte" warning
for 1-byte responses that contain 0xff or 0x00, but it doesn't work
properly as it simply falls back to the "Weird data" warning in the else
clause.
Fix that by adding an inner if clause.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-purpletv.c')
0 files changed, 0 insertions, 0 deletions