diff options
| author | Oder Chiou <[email protected]> | 2017-11-08 11:21:47 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-11-08 11:26:56 +0000 |
| commit | c4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb (patch) | |
| tree | 8a8b9e7d10cf4e2532a0892b8e0cb0715d112ec3 /net/unix/af_unix.c | |
| parent | ASoC: rt5514: The ACPI also should use the function rt5514_parse_dp() (diff) | |
| download | kernel-c4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb.tar.gz kernel-c4a71ff78e668a75a4a3cfd9ebbfbd5cbe8da5fb.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
