backlight: tdo24m: ensure chip select changes between transfers
authorMike Rapoport <mike@compulab.co.il>
Tue, 24 Nov 2009 08:25:33 +0000 (10:25 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:34 +0000 (09:02 +0800)
commitf64dcac0b1247842db2530959cbe3df1cb1947c4
treefed5cf0fcf83081deffda476fcdcca2eb6407f8f
parentfa3f99384c20751c66962848807403ff171dc02f
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>
drivers/video/backlight/tdo24m.c