diff options
| author | Oder Chiou <oder_chiou@realtek.com> | 2018-09-17 14:03:09 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-09-17 20:48:40 +0300 |
| commit | fbb673f7c6555d5434ad005f86b0d4368b1203d9 (patch) | |
| tree | 6692149f4ce957c90723b9ba5f81d60fa79e4238 /lib/mpi/mpicoder.c | |
| parent | 75383f8d39d4c0fb96083dd460b7b139fbdac492 (diff) | |
| download | linux-fbb673f7c6555d5434ad005f86b0d4368b1203d9.tar.xz | |
ASoC: rt5514-spi: Get the period_bytes in the copy work to make sure the value correctly
The value of period_bytes will get the zero before the hw_params() is not
run completely. Move the function snd_pcm_lib_period_bytes() to copy work,
and make sure that is not zero.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
