MLK-19328-1: hdp: fix no sound output in second time
Fixes commit 6b97462b64 ("MLK-18690-3: hdp api: Remove
info frame API function")
The info frame API is removed, so the maximum of state->tmp
is 8.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
This commit is contained in:
@ -333,7 +333,7 @@ CDN_API_STATUS CDN_API_AudioAutoConfig(state_struct *state,
|
||||
default:
|
||||
return ret;
|
||||
}
|
||||
if (state->tmp == 9) {
|
||||
if (state->tmp == 8) {
|
||||
state->tmp = 0;
|
||||
return CDN_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user