Re: [PATCH 1/2] staging: fbtft: fix 9-bit SPI support detection

2015-08-25 Thread Noralf Trønnes
Den 25.08.2015 23:04, skrev Stefan Wahren: Since the result of the setup function isn't adequate to check 9-bit SPI support, we better check bits_per_word_mask. Btw this change avoids a NULL pointer dereference with master drivers without a separate setup function. Signed-off-by: Stefan Wahren

[PATCH 1/2] staging: fbtft: fix 9-bit SPI support detection

2015-08-25 Thread Stefan Wahren
Since the result of the setup function isn't adequate to check 9-bit SPI support, we better check bits_per_word_mask. Btw this change avoids a NULL pointer dereference with master drivers without a separate setup function. Signed-off-by: Stefan Wahren --- drivers/staging/fbtft/fbtft-core.c | 1