spi/omap: fix D0/D1 direction confusion
authorDaniel Mack <zonque@gmail.com>
Wed, 14 Nov 2012 03:14:26 +0000 (11:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Nov 2012 03:16:17 +0000 (12:16 +0900)
commit2cd451792db174382aaca96c75bc3bf47a6065fe
treea16e2eed2823febb9b8057d64c1d95716bc1e4f5
parent0384e90b853357d24935c65ba0e1bdd27faa6e58
spi/omap: fix D0/D1 direction confusion

0384e90b8 ("spi/mcspi: allow configuration of pin directions") did what
it claimed to do the wrong way around. D0/D1 is configured as output by
*clearing* the bits in the conf registers, hence also breaking the
former default behaviour.

Fix this before that change is merged to mainline.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/spi/omap-spi.txt
drivers/spi/spi-omap2-mcspi.c
include/linux/platform_data/spi-omap2-mcspi.h