summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorJustin Chen <justinpopo6@gmail.com>2020-04-20 22:08:49 +0300
committerMark Brown <broonie@kernel.org>2020-04-21 18:05:56 +0300
commit4df3bea7f9d2ddd9ac2c29ba945c7c4db2def29c (patch)
tree353a66517259ab82d5af5d6c987c60c5e43bb6a2 /drivers/firewire
parent1b7ad8c405c3dc0ad6c2dc61fe21fe7a446cceeb (diff)
downloadlinux-4df3bea7f9d2ddd9ac2c29ba945c7c4db2def29c.tar.xz
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 <justinpopo6@gmail.com> Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20200420190853.45614-6-kdasu.kdev@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions