PD#SWPL-28414
Problem:
vdec_disconnect timeout,vdec can not be removed from connected list
Solution:
force vdec status to VDEC_STATUS_CONNECTED when disconnect timeout
Verify:
S905C1-AC232
Change-Id: I53053b794dc669923d0d4809dc909c7654614010
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
return 0;
discon_timeout:
- pr_err("%s timeout!!! status: 0x%x\n", __func__, vdec->status);
+ pr_err("%s timeout!!! status: 0x%x force it to 2\n", __func__, vdec->status);
+ vdec_set_status(vdec, VDEC_STATUS_CONNECTED);
return 0;
}
EXPORT_SYMBOL(vdec_disconnect);