Files
u-boot/drivers
Christophe Kerello dfe72d081d spi: soft_spi: Fix data abort if slave is not probed
In case spi_get_bus_and_cs callback is used, spi bus is first probed
then slave devices are probed. To avoid a data abort in soft_spi probe
function, we need to check that (slave != NULL).

If slave is NULL, cs_flags and clk_flags will be initialized with
respectively GPIOD_ACTIVE_LOW and 0.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2019-09-16 08:09:22 +05:30
..
2019-05-21 08:03:38 +02:00
2019-08-26 21:16:24 +05:30
2019-08-11 16:43:41 -04:00
2019-05-18 08:15:35 -04:00
2019-08-11 16:43:41 -04:00
2019-09-02 06:35:08 +02:00
2019-08-11 16:43:41 -04:00
2019-08-26 11:46:28 -04:00
2019-02-20 15:27:08 +08:00
2019-08-07 15:31:04 -04:00
2019-07-19 20:14:50 +02:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-05-24 10:14:10 -07:00
2019-08-11 16:43:41 -04:00
2019-07-19 15:17:05 +02:00
2019-07-11 14:11:18 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 19:27:41 -04:00
2019-08-11 19:27:41 -04:00