diff options
author | Justin Chen <[email protected]> | 2020-04-20 15:08:49 -0400 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-04-21 16:05:56 +0100 |
commit | 4df3bea7f9d2ddd9ac2c29ba945c7c4db2def29c (patch) | |
tree | 353a66517259ab82d5af5d6c987c60c5e43bb6a2 /scripts/gdb/linux/modules.py | |
parent | 1b7ad8c405c3dc0ad6c2dc61fe21fe7a446cceeb (diff) |
spi: bcm-qspi: when tx/rx buffer is NULL set to 0
Currently we set the tx/rx buffer to 0xff when NULL. This causes
problems with some spi slaves where 0xff is a valid command. Looking
at other drivers, the tx/rx buffer is usually set to 0x00 when NULL.
Following this convention solves the issue.
Fixes: fa236a7ef240 ("spi: bcm-qspi: Add Broadcom MSPI driver")
Signed-off-by: Justin Chen <[email protected]>
Signed-off-by: Kamal Dasu <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions