aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2019-05-16 18:43:40 -0700
committerMark Brown <broonie@kernel.org>2019-05-20 15:16:56 +0100
commit7b8164c1a29ce8ef91672c50ceac5c14475f5601 (patch)
treef74ab96a2c6a217b06113fcb2833a793c987869d /tools/perf/scripts/python/bin/stackcollapse-report
parentASoC: soc-dpm: fixup DAI active unbalance (diff)
downloadlinux-7b8164c1a29ce8ef91672c50ceac5c14475f5601.tar.gz
linux-7b8164c1a29ce8ef91672c50ceac5c14475f5601.zip
ASoC: rt5677-spi: Handle over reading when flipping bytes
There is a case when a we want to read a large number of bytes that require a burst but is not a multiple of the word size (8). When this happens rt5677_spi_reverse will run off the end of the buffer. The solution is to tell spi_reverse the actual size of the destination and stop if we reach it even if we have data left that we read. Cc: Ben Zhang <benzh@chromium.org> Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions