[PATCH RFC 1/2] staging: fbtft: replace master->setup() with spi_setup()

2015-08-24 Thread Stefan Wahren
Calling the setup of the SPI master directly causes a NULL pointer dereference with master drivers without a separate setup function. This problem is reproduceable on ARM MXS platform. So fix this issue by using spi_setup() instead. Signed-off-by: Stefan Wahren ---

[PATCH RFC 1/2] staging: fbtft: replace master-setup() with spi_setup()

2015-08-24 Thread Stefan Wahren
Calling the setup of the SPI master directly causes a NULL pointer dereference with master drivers without a separate setup function. This problem is reproduceable on ARM MXS platform. So fix this issue by using spi_setup() instead. Signed-off-by: Stefan Wahren stefan.wah...@i2se.com ---