aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-08-24 16:52:46 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-08-30 23:13:59 +0200
commitcebc07d84ad71bc58d6f59b770e4347da48a5a2b (patch)
tree213a643dce403942ef2057a48c665877df57ac5c /tools/perf/scripts/python/mem-phys-addr.py
parenti2c: sh_mobile: define start_ch() void as it only returns 0 anyhow (diff)
downloadlinux-dev-cebc07d84ad71bc58d6f59b770e4347da48a5a2b.tar.xz
linux-dev-cebc07d84ad71bc58d6f59b770e4347da48a5a2b.zip
i2c: sh_mobile: fix leak when using DMA bounce buffer
We only freed the bounce buffer after successful DMA, missing the cases where DMA setup may have gone wrong. Use a better location which always gets called after each message and use 'stop_after_dma' as a flag for a successful transfer. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions