mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 03:06:43 +00:00
media: rockchip: rga: Fix probe rga_parse_dt bugs
rga_parse_dt is missing a error return, so if some of the resources return DEFER_PROBE, probe will succeed without these resources. Signed-off-by: Ondrej Jirman <megi@xff.cz> Co-developed-by: Jarrah Gosbell <kernel@undef.tools> Signed-off-by: Jarrah Gosbell <kernel@undef.tools> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
1c24bb3f8b
commit
0565b91eae
@ -816,7 +816,7 @@ static int rga_probe(struct platform_device *pdev)
|
||||
|
||||
ret = rga_parse_dt(rga);
|
||||
if (ret)
|
||||
dev_err(&pdev->dev, "Unable to parse OF data\n");
|
||||
return dev_err_probe(&pdev->dev, ret, "Unable to parse OF data\n");
|
||||
|
||||
pm_runtime_enable(rga->dev);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user