commit | 69934012f394d1db11c3c0c781fd88b6ae447dbe | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Mon Mar 19 21:53:28 2018 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Apr 26 14:33:35 2018 +0200 |
tree | dfbd70cd8a310020bfd04c3b1f05d03fba34f8cc | |
parent | edb6cb3d7c9026d1a3bdfde9f74ed6c807285206 [diff] |
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>