MLK-24009-1 arm64: imx8mp: vpu: vc8000e: fix build issue as module
change module device table name to fix build error as module rename the c source name to avoid conflict with h1 release clk avoid memory leak fix typo error in core index Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
3a91e9d0de
commit
099a3ae272
|
@ -4,5 +4,5 @@
|
|||
|
||||
#ccflags-y += -I$(PWD)
|
||||
|
||||
obj-$(CONFIG_MXC_HANTRO_VC8000E) += hx280enc.o
|
||||
obj-$(CONFIG_MXC_HANTRO_VC8000E) += hx280enc_vc8000e.o
|
||||
|
||||
|
|
|
@ -983,7 +983,7 @@ static void ReleaseIO(void)
|
|||
{
|
||||
u32 i;
|
||||
|
||||
for (i = 0; i <= total_core_num; i++) {
|
||||
for (i = 0; i < total_core_num; i++) {
|
||||
//if (hantroenc_data[i].is_valid == 0)
|
||||
// continue;
|
||||
if (hantroenc_data[i].hwregs)
|
||||
|
@ -1161,7 +1161,10 @@ static int hantro_vc8000e_dev_remove(struct platform_device *pdev)
|
|||
pm_runtime_put_sync(&pdev->dev);
|
||||
pm_runtime_disable(&pdev->dev);
|
||||
hantro_vc8000e_clk_disable(&pdev->dev);
|
||||
|
||||
if (!IS_ERR(hantro_clk_vc8000e))
|
||||
clk_put(hantro_clk_vc8000e);
|
||||
if (!IS_ERR(hantro_clk_vc8000e_bus))
|
||||
clk_put(hantro_clk_vc8000e_bus);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1208,7 +1211,7 @@ static const struct of_device_id hantro_vc8000e_of_match[] = {
|
|||
{ .compatible = "nxp,imx8mp-hantro-vc8000e", },
|
||||
{/* sentinel */}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, hantro_h1_of_match);
|
||||
MODULE_DEVICE_TABLE(of, hantro_vc8000e_of_match);
|
||||
|
||||
|
||||
static struct platform_driver mxchantro_vc8000e_driver = {
|
Loading…
Reference in New Issue