aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorOlivier Moysan <[email protected]>2020-01-10 14:11:31 +0100
committerMark Brown <[email protected]>2020-01-10 13:30:10 +0000
commit8e55ea19125b65cffe42747359af99d545e85f2f (patch)
treebcc8831f52b3791ad7be2bd70ead34ad3538591a /tools/perf/util/c++/clang-test.cpp
parenta14bf98c045bf119b7e779f186528e38c6428830 (diff)
ASoC: stm32: dfsdm: fix 16 bits record
In stm32_afsdm_pcm_cb function, the transfer size is provided in bytes. However, samples are copied as 16 bits words from iio buffer. Divide by two the transfer size, to copy the right number of samples. Fixes: 1e7f6e1c69f0 ("ASoC: stm32: dfsdm: add 16 bits audio record support") Signed-off-by: Olivier Moysan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions