summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-omap2-mcspi.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-01-25 09:39:34 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-26 15:35:56 +0800
commit0202a32d5f4a129ced47db76001f958cd33adeb7 (patch)
tree563b6db1bc77fac5b0bf02d65130dd0f36191ec7 /drivers/spi/spi-omap2-mcspi.c
parent3343b7a6d2cd0a980d0c4a0ce02ef48b6bfcc12a (diff)
downloadlinux-0202a32d5f4a129ced47db76001f958cd33adeb7.tar.bz2
spi: spi-gpio: Add checks for the dt properties
The bindings assumed that the gpios properties were always there, which made the NO_TX and NO_RX mode not usable from device tree. Add extra checks to make sure that the driver can work if either MOSI or MISO is not used. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions