]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: omap2_mcspi: fix for channel configuration and CS
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Fri, 26 May 2006 23:27:32 +0000 (16:27 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 26 May 2006 23:27:32 +0000 (16:27 -0700)
commit5f3e43dbce2517bb1c5d268816e9fdda68cc5478
tree07428bba8c49de7010a53e2e08955a46b58fce7c
parent683fd3bad6928c1d32cf677a40b9b573e6f66858
[PATCH] ARM: OMAP: omap2_mcspi: fix for channel configuration and CS

Fix for channel reconfiguration case: once the EPOL, POL or PHA has been
configured to 1, further configuration on the channel can't change it to 0.

The first CS enable is not needed. The CS will be enabled right before
the transfer anyway, if it's not active.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/spi/omap2_mcspi.c