commit | 00b80ac9355397455adec24c9ee76f1b0225cd27 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Fri Nov 30 07:47:06 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Dec 11 11:59:33 2018 +0000 |
tree | 0fbd92be173db751053573a99213bf97d5b00399 | |
parent | e697271c4e2987b333148e16a2eb8b5b924fd40a [diff] |
spi: imx: mx51-ecspi: Move some initialisation to prepare_message hook. The relevant difference between prepare_message and config is that the former is run before the CS signal is asserted. So the polarity of the CLK line must be configured in prepare_message as an edge generated by config might already result in a latch of the MOSI line. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>