aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorOder Chiou <[email protected]>2017-11-08 19:21:47 +0800
committerMark Brown <[email protected]>2017-11-08 11:26:56 +0000
commitc4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb (patch)
tree8a8b9e7d10cf4e2532a0892b8e0cb0715d112ec3 /lib/test_overflow.c
parent28aef24d726f8d503fde24ccf8a14b214355cfb5 (diff)
ASoC: rt5514-spi: Let the buf_size to align with period_bytes
The patch lets the buf_size to align with period_bytes to prevent the buffer reading over the real size of the DSP buffer and also avoid to calculate the wrong size of remaining data. Signed-off-by: Oder Chiou <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions