Skip to content

Commit 1783799

Browse files
tq-steinagregkh
authored andcommitted
media: amphion: Fix VPU core alias name
commit f033c87fda47e272bb4f75dc7b03677261d91158 upstream. Starting with commit f6038de293f2 ("arm64: dts: imx8qm: Fix VPU core alias name") the alias for VPU cores uses dashes instead of underscores. Adjust the alias stem accordingly. Fixes the errors: amphion-vpu-core 2d040000.vpu-core: can't get vpu core id amphion-vpu-core 2d050000.vpu-core: can't get vpu core id Fixes: f6038de293f2 ("arm64: dts: imx8qm: Fix VPU core alias name") Signed-off-by: Alexander Stein <[email protected]> Reviewed-by: Ming Qian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 44d2989 commit 1783799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/platform/amphion/vpu_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ static int vpu_core_probe(struct platform_device *pdev)
642642
return -ENODEV;
643643

644644
core->type = core->res->type;
645-
core->id = of_alias_get_id(dev->of_node, "vpu_core");
645+
core->id = of_alias_get_id(dev->of_node, "vpu-core");
646646
if (core->id < 0) {
647647
dev_err(dev, "can't get vpu core id\n");
648648
return core->id;

0 commit comments

Comments
 (0)