You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
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 <alexander.stein@ew.tq-group.com>
Reviewed-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
44d29897ea
commit
178379985e
@@ -642,7 +642,7 @@ static int vpu_core_probe(struct platform_device *pdev)
|
||||
return -ENODEV;
|
||||
|
||||
core->type = core->res->type;
|
||||
core->id = of_alias_get_id(dev->of_node, "vpu_core");
|
||||
core->id = of_alias_get_id(dev->of_node, "vpu-core");
|
||||
if (core->id < 0) {
|
||||
dev_err(dev, "can't get vpu core id\n");
|
||||
return core->id;
|
||||
|
||||
Reference in New Issue
Block a user