mbox series

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

Message ID 1595918278-9724-1-git-send-email-alain.volmat@st.com (mailing list archive)
Headers show
Series Error handling fixes in stm32-dcmi driver | expand

Message

Alain Volmat July 28, 2020, 6:37 a.m. UTC
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(-)