backlight: tdo24m: ensure chip select changes between transfers
Subsystems (2)
PATCH 1/1 backlight: tdo24m: ensure chip select changes between transfers
Some SPI host drivers do not change chip select betwen transfers unless .cs_chnage field is explicitly set. The LCD spec requires chip select change between consecuitive transfers, so ensure it at the SPI driver level.
Signed-off-by Mike Rapoport <[email protected]>
--- drivers/video/backlight/tdo24m.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/video/backlight/tdo24m.c +1 -0
@@ -367,6 +367,7 @@ static int __devinit tdo24m_probe(struct spi_device *spi)spi_message_init (m); + x->cs_change =1 ; x->tx_buf = &lcd->buf[0 ];spi_message_add_tail (x, m);
Signature · 1 line
1.6.4.4
Eric Miao
AppliedQuoted 6 lines · Mike Rapoport
Some SPI host drivers do not change chip select betwen transfers unless .cs_chnage field is explicitly set. The LCD spec requires chip select change between consecuitive transfers, so ensure it at the SPI driver level.
Signed-off-by Mike Rapoport <[email protected]>
Applied to 'devel'.
Richard,
I'd still hope this can be merged via your backlight tree, and let me know when that's done so that I can drop this here.