media: stm32-dcmi: fix irq = 0 case
authorFabien Dessenne <fabien.dessenne@st.com>
Fri, 31 May 2019 09:18:15 +0000 (05:18 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Jun 2019 19:28:32 +0000 (15:28 -0400)
commitdbb9fcc8c2d8d4ea1104f51d4947a8a8199a2cb5
treeaffcdcc067835cf147f6cacd5a3b3fcf3818167b
parent4f62e840f827a31d42db91f8ffb9a01420488589
media: stm32-dcmi: fix irq = 0 case

Manage the irq = 0 case, where we shall return an error.

Fixes: b5b5a27bee58 ("media: stm32-dcmi: return appropriate error codes during probe")
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Reported-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c