summaryrefslogtreecommitdiffstats
path: root/drivers/ide/opti621.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2014-11-03 22:09:59 +0100
committerJiri Kosina <jkosina@suse.cz>2014-11-04 11:10:19 +0100
commit552f12eb68440a0328dc9929066f6d0321a75874 (patch)
treed288bba4f78144ca1437851a353a0fd708fa7298 /drivers/ide/opti621.c
parentHID: logitech-hidpp: fix negated returns (diff)
downloadlinux-552f12eb68440a0328dc9929066f6d0321a75874.tar.xz
linux-552f12eb68440a0328dc9929066f6d0321a75874.zip
HID: logitech-hidpp: 2 fixes in hidpp_root_get_protocol_version()
- remove the constant '1' - when the device is not connected, the protocol error HIDPP_ERROR_RESOURCE_ERROR is raised. We should not warn the user about it because it is somewhat expected as an answer when we check if the device is connected. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/ide/opti621.c')
0 files changed, 0 insertions, 0 deletions