MLK-22257: VPU Decoder: clear pending cmd if cmd is timeout
authorming_qian <ming.qian@nxp.com>
Fri, 12 Jul 2019 07:24:31 +0000 (15:24 +0800)
committerming_qian <ming.qian@nxp.com>
Fri, 12 Jul 2019 09:05:33 +0000 (17:05 +0800)
commit0cd98303937444b3ff1cdb1fd6db098c766f5c83
tree91cba91c0e3c45a637d2f33fc014427f0c0f9553
parent9ba7fb3e41fbe179bcdb648a8a612ef7d1df60a8
MLK-22257: VPU Decoder: clear pending cmd if cmd is timeout

if cmd is timeout, driver will set hang_status,
if driver doesn't clear the pending cmd who is timeout,
driver will prevent the next cmd to execute.

Signed-off-by: ming_qian <ming.qian@nxp.com>
Reviewed-by: Shijie Qin <shijie.qin@nxp.com>
drivers/mxc/vpu_malone/vpu_b0.c