]> Pileus Git - ~andy/linux/commit
spi/imx: select master mode for all channels
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 8 Feb 2011 20:08:59 +0000 (21:08 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 15 Feb 2011 22:10:11 +0000 (15:10 -0700)
commitf020c39e51b1ef8389d5cf38190d32f55ff9d556
tree8813281630a49f837b1ddbf8c3c181574d53300e
parent12e8b325f28a87ad006822d0561112c1751dfc9b
spi/imx: select master mode for all channels

The hardware seems to have a race condition when the inactive
channels are in slave mode. We support master mode only, so
we can just switch all channels to master mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[ukleinek: add more verbose comment about the race]
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_imx.c