commit | cabb5b2a2866829177df2f1cee70f0dd42ee6ae0 | [log] [tgz] |
---|---|---|
author | Stefan Wahren <stefan.wahren@i2se.com> | Tue Aug 25 21:04:11 2015 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Sep 13 09:33:58 2015 -0700 |
tree | 2ab184760bc67873c8603b181e2eb078b6db2c35 | |
parent | d98229f0299d5d5a741873c5900159844b2b2de5 [diff] |
staging: fbtft: fix 9-bit SPI support detection 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@i2se.com> Acked-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>