[PATCH 0/2] Error handling fixes in stm32-dcmi driver

From: Alain Volmat
Date: Tue Jul 28 2020 - 02:38:49 EST

This serie implements fixes in error path of the stm32-dcmi driver.
As part of it, it also fixes the way video device is handled in
order to ensure that it is only created when the attached sensor
is well initialized. (current implementation leads to having a
video device always created and but never deleted upon removal of
the module if sensor initialization is failing)

Alain Volmat (2):
media: stm32-dcmi: create video dev within notifier bound
media: stm32-dcmi: fix probe error path & module remove

drivers/media/platform/stm32/stm32-dcmi.c | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)