Commit f274e881 authored by Kyle Copperfield's avatar Kyle Copperfield Committed by Zheng Zengkai
Browse files

media: rockchip/rga: do proper error checking in probe

stable inclusion
from stable-v5.10.112
commit af12dd71235cf9f06ed3e98b1c28f55951effa6d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5HL0X

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=af12dd71235cf9f06ed3e98b1c28f55951effa6d



--------------------------------

[ Upstream commit 6150f276 ]

The latest fix for probe error handling contained a typo that causes
probing to fail with the following message:

  rockchip-rga: probe of ff680000.rga failed with error -12

This patch fixes the typo.

Fixes: e58430e1 (media: rockchip/rga: fix error handling in probe)
Reviewed-by: default avatarDragan Simic <dragan.simic@gmail.com>
Signed-off-by: default avatarKyle Copperfield <kmcopper@danwin1210.me>
Reviewed-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 85ad5f54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment