Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: alps: Report an error if we receive invalid data in 't4_read_wri…
…te_register()' If the data received is not what is expected, we should return an error. Otherwise, we return 0 or a positive value which will be interpreted as success, but '*read_val' has not been updated. Fixes: 73196eb ("HID: alps: add support for Alps T4 Touchpad device") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
- Loading branch information