1
0
Fork 0

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 <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
hifive-unleashed-5.1
Mike Rapoport 2009-11-24 10:25:33 +02:00 committed by Eric Miao
parent fa3f99384c
commit f64dcac0b1
1 changed files with 1 additions and 0 deletions

View File

@ -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);