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

Alain Volmat alain.volmat at st.com
Tue Jul 28 02:37:56 EDT 2020


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(-)




More information about the linux-arm-kernel mailing list