HID: logitech: Prevent possibility of infinite loop when using /sys interface
authorSimon Wood <simon@mungewell.org>
Fri, 15 Aug 2014 02:43:01 +0000 (20:43 -0600)
committerJiri Kosina <jkosina@suse.cz>
Fri, 15 Aug 2014 08:54:13 +0000 (10:54 +0200)
If the device data is not accessible for some reason, returning 0 will cause the call to be
continuously called again as none of the string has been 'consumed'.

Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found