summary refs log tree commit diff
path: root/fs/file.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2018-03-19 21:53:28 +0100
committerJiri Kosina <jkosina@suse.cz>2018-04-26 14:33:35 +0200
commit69934012f394d1db11c3c0c781fd88b6ae447dbe (patch)
treedfbd70cd8a310020bfd04c3b1f05d03fba34f8cc /fs/file.c
parentedb6cb3d7c9026d1a3bdfde9f74ed6c807285206 (diff)
downloadlinux-69934012f394d1db11c3c0c781fd88b6ae447dbe.tar.gz
HID: alps: Check errors returned by 't4_read_write_register()'
If only the first 't4_read_write_register()' call fails, the error code
will be overwritten and lost.
Directly report the error instead.

While at it, log some errors if 't4_read_write_register()' fails, as done
in the rest of the driver.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions