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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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>

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux