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)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 30 Nov 2021 11:06:48 +0000 (12:06 +0100)
commitaf88c2adbb72a09ab1bb5c37ba388c98fecca69b
tree5b4b6628998cca85564eac11827f0f2962ae7291
parentd5e9bddb28057615fed653dcfa25f96896b1ff04
media: rcar_fdp1: Fix the correct variable assignments

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>
drivers/media/platform/rcar_fdp1.c