vmpeg12: fix mpeg12 fw tee_load fail

mpeg12 fw tee load will be fail without name, must pass
a name.

Change-Id: I5bf12ce9158237687c93acc0c54d4c29460cecea
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
This commit is contained in:
shihong.zheng
2018-08-28 12:10:45 +08:00
committed by Dongjin Kim
parent 1a63229ef3
commit 558a8cd709

View File

@@ -1933,7 +1933,7 @@ static s32 vmpeg12_init(void)
return -1;
}
ret = amvdec_loadmc_ex(VFORMAT_MPEG12, NULL, buf);
ret = amvdec_loadmc_ex(VFORMAT_MPEG12, "mpeg12", buf);
if (ret < 0) {
amvdec_disable();
vfree(buf);