aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2014-12-16 22:06:01 +0000
committerJiri Kosina <[email protected]>2014-12-17 08:08:26 +0000
commitbf159447537ed234afb569f91f5fd8c54ffa4c36 (patch)
treedf66b1dbbe170e05933876378310073b94255640 /lib/dynamic_debug.c
parentHID: logitech-hidpp: separate HID++ from WTP processing (diff)
downloadkernel-bf159447537ed234afb569f91f5fd8c54ffa4c36.tar.gz
kernel-bf159447537ed234afb569f91f5fd8c54ffa4c36.zip
HID: logitech-hidpp: bail out if wtp_connect fails
If wtp_connect() fails, that means most of the time that the device has been disconnected. Subsequent attempts to contact the device will fail too, so it's simpler to bail out earlier. Signed-off-by: Benjamin Tissoires <[email protected]> Reviewed-by: Peter Wu <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions