]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar_fdp1: Fix the correct variable assignments
authorTang Bin <tangbin@cmss.chinamobile.com>
Thu, 21 Oct 2021 03:09:38 +0000 (05:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:38 +0000 (11:35 +0200)
commitf77cd084cc6046c0e361c2980ffb6b063778d641
tree85dd56db672eb07e71ce978858b5e6d8b690c4a4
parent6d6f05e70fc3d704bdbc58dcaa08b95fa48b7a44
media: rcar_fdp1: Fix the correct variable assignments

[ Upstream commit 14eedc7183931552aaba6e1f7d64fbccbf1a50cd ]

In the function fdp1_probe(), when get irq failed, the
function platform_get_irq() log an error message, so
remove redundant message here. And the variable type
of "ret" is int, the "fdp1->irq" is unsigned int, when
irq failed, this place maybe wrong, thus fix it.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: c766c90faf93 ("media: rcar_fdp1: Fix refcount leak in probe and remove function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/rcar_fdp1.c