diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2017-11-08 14:21:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-08 14:26:56 +0300 |
commit | c4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb (patch) | |
tree | 8a8b9e7d10cf4e2532a0892b8e0cb0715d112ec3 /sound/pci/oxygen | |
parent | 28aef24d726f8d503fde24ccf8a14b214355cfb5 (diff) | |
download | linux-c4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb.tar.xz |
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 <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/pci/oxygen')
0 files changed, 0 insertions, 0 deletions