ar71xx: fix RB4xx CPLD SPI device mode setup
authorFelix Fietkau <nbd@nbd.name>
Wed, 11 Jan 2017 09:42:04 +0000 (10:42 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 11 Jan 2017 12:02:11 +0000 (13:02 +0100)
commit889272d92db689fd9c910243635e44c9d8323095
treefa9ab23d423bce68caea3d2623d602a58e78892f
parentc3a8b87773b7045f20ec288ecf55b3d5af5000ba
ar71xx: fix RB4xx CPLD SPI device mode setup

Commit af79fdbe4af3 changed the code to use tx_nbits for dual SPI tx
transfers, however the SPI stack only allows this when the device mode
includes the relevant bit as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c