summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYong Li <sdliyong@gmail.com>2016-03-30 09:49:14 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-04-08 12:49:47 +0300
commit9b8e3ec34318663affced3c14d960e78d760dd9a (patch)
tree9e1d0ad6cfdf81d6cba2432dc1e475e0c34b7a84 /tools/perf/scripts/python/stackcollapse.py
parent159f3cd92f17c61a4e2a47456de5865b114ef88e (diff)
downloadlinux-9b8e3ec34318663affced3c14d960e78d760dd9a.tar.xz
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: stable@vger.kernel.org Signed-off-by: Yong Li <sdliyong@gmail.com> Reviewed-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions