[media] rcar-vin: return correct error from platform_get_irq()
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 15 Aug 2016 15:06:30 +0000 (12:06 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 23 Aug 2016 17:46:16 +0000 (14:46 -0300)
commitfc738177f837742d21707cd773b2c86233e277ee
treec14f2025cf4e19a6a1556bb459c97f2087779ac0
parent4869ce9d1a53236f61fefdc819765c7a3ccb6e06
[media] rcar-vin: return correct error from platform_get_irq()

Fix a error from the original driver where the wrong error code is
returned if the driver fails to get a IRQ number from
platform_get_irq().

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/rcar-vin/rcar-core.c