commit | c4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb | [log] [tgz] |
---|---|---|
author | Oder Chiou <oder_chiou@realtek.com> | Wed Nov 08 19:21:47 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Nov 08 11:26:56 2017 +0000 |
tree | 8a8b9e7d10cf4e2532a0892b8e0cb0715d112ec3 | |
parent | 28aef24d726f8d503fde24ccf8a14b214355cfb5 [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 <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>