diff options
author | Yong Li <[email protected]> | 2016-03-30 14:49:14 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2016-04-08 11:49:47 +0200 |
commit | 9b8e3ec34318663affced3c14d960e78d760dd9a (patch) | |
tree | 9e1d0ad6cfdf81d6cba2432dc1e475e0c34b7a84 /tools/perf/util/trace-event-scripting.c | |
parent | 159f3cd92f17c61a4e2a47456de5865b114ef88e (diff) |
gpio: pca953x: Use correct u16 value for register word write
The current implementation only uses the first byte in val,
the second byte is always 0. Change it to use cpu_to_le16
to write the two bytes into the register
Cc: [email protected]
Signed-off-by: Yong Li <[email protected]>
Reviewed-by: Phil Reid <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions