summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-11-19 19:01:42 +0000
committerGrant Likely <grant.likely@secretlab.ca>2009-12-08 18:48:16 -0700
commitce1807b2e527979bd77d8a1a1768a6365f3febb5 (patch)
tree2bbf8ecbf000083f147fab885bdb91894c56186a /usr
parentd33c861e71c57dd69d39d88b84a672adf86a2144 (diff)
downloadblackbird-op-linux-ce1807b2e527979bd77d8a1a1768a6365f3febb5.tar.gz
blackbird-op-linux-ce1807b2e527979bd77d8a1a1768a6365f3febb5.zip
spi/i.mx: drain MXC SPI transfer buffer when probing device
On the MX31litekit, the bootloader seems to communicate with the MC13783 PMIC chip before booting Linux. However, it does not flush all the buffers properly after that, which makes the imx-spi driver read bogus data when probing the MC13783. Fix that by draining the SPI receive buffer on startup. Signed-off-by: Daniel Mack <daniel@caiaq.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud