mbox series

[0/2] spi: stm32-qspi: rework probe error path

Message ID 20200203135048.1299-1-patrice.chotard@st.com (mailing list archive)
Headers show
Series spi: stm32-qspi: rework probe error path | expand

Message

Patrice CHOTARD Feb. 3, 2020, 1:50 p.m. UTC
From: Patrice Chotard <patrice.chotard@st.com>

This series is fixing the probe error path of spi-stm32-qspi driver: 
  - it allows to defer probe if reset controller driver is not yet probed.
  - if fixes the error path in releasing only allocated ressouces in case of error.

Etienne Carriere (1):
  spi: stm32-qspi: defer probe for reset controller

Lionel Debieve (1):
  spi: stm32-qspi: properly manage probe errors

 drivers/spi/spi-stm32-qspi.c | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)