diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-03-19 21:53:26 +0100 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2018-04-26 14:33:35 +0200 |
| commit | 605f077290a594c75a952ad3b78e53d68c1895ae (patch) | |
| tree | 7188e316fd6a492f4097faad80ff8a7586bd2bd4 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
| download | linux-605f077290a594c75a952ad3b78e53d68c1895ae.tar.gz linux-605f077290a594c75a952ad3b78e53d68c1895ae.zip | |
HID: alps: Report an error if we receive invalid data in 't4_read_write_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: 73196ebe134d ("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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
