mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
dsp: Fix open params for read_compr in IEC61937 mode
The read compressed in IEC61937 mode doesn't unpack data to frames, but data flow still requires frames_per_buf to be set to nonzero value. Change-Id: Idb09219c57d7790cb90df62c97baf3ef0e9d8a2f Signed-off-by: Ralf Herz <rherz@codeaurora.org>
This commit is contained in:
parent
0983e24039
commit
e0b9234773
1 changed files with 1 additions and 0 deletions
|
|
@ -3085,6 +3085,7 @@ int q6asm_open_read_compressed(struct audio_client *ac, uint32_t format,
|
|||
*/
|
||||
if (format == FORMAT_IEC61937) {
|
||||
open.mode_flags = 0x1;
|
||||
open.frames_per_buf = 1;
|
||||
pr_debug("%s: Flag 1 IEC61937 output\n", __func__);
|
||||
} else {
|
||||
open.mode_flags = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue