
6 Sep
2019
6 Sep
'19
8:37 p.m.
On Fri, Aug 2, 2019 at 7:16 PM Patrice Chotard patrice.chotard@st.com wrote:
From: Christophe Kerello christophe.kerello@st.com
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
Applied to u-boot-spi/master