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:
Shengjiu Wang
2018-08-29 09:57:23 +08:00
committed by Jason Liu
parent b745eb50cf
commit 92f1233652

View File

@ -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;
}