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

From: Noralf TrÃnnes
Date: Tue Aug 25 2015 - 18:07:14 EST



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 <stefan.wahren@xxxxxxxx>
---
drivers/staging/fbtft/fbtft-core.c | 10 +++-------
drivers/staging/fbtft/flexfb.c | 11 ++++-------
2 files changed, 7 insertions(+), 14 deletions(-)

Thanks Stefan.

Both patches:
Acked-by: Noralf Trønnes <noralf@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/