ASoC: msm: Fix the voip loopback test with AMR and EVRC vocoders
- SPECIAL format is used in voip loopback test with AMR and EVRC vocoders
- If the format is not S16_LE or S24_LE, Backend dai will return -EINVAL,
which will cause the fail of setting hardware parameter when using
SPECIAL format
- Add SPECIAL format case into backend dai code. If the format is
SPECIAL, the bit width is set to 16
Change-Id: I97cd7e070d1d9dd355bbc4301abe6cff9a4816dd
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
1 file changed