ipq806x: fix spi read issues observed with SMP enabled
authorJohn Crispin <john@openwrt.org>
Tue, 24 Feb 2015 11:59:41 +0000 (11:59 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 24 Feb 2015 11:59:41 +0000 (11:59 +0000)
commita45a5f7cf0de4f921304bcaf2fa66e91a6ca57bd
tree7093c6c5ddedb700e3db539eab77604dbf88c870
parent1175e83f5050aae6c421b4c8b272deef1a61e7f6
ipq806x: fix spi read issues observed with SMP enabled

This change is fixing the issues observed when booting from NOR flash
with SMP enabled.

Error logs below:
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
m25p80 spi32766.0: SPI transfer failed: -110
spi_master spi32766: failed to transfer one message from queue
jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792

Patch is cherry-picked from here:
https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02

More details in the patch file.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44518
target/linux/ipq806x/patches/003-spi-qup-Ensure-done-detection.patch [new file with mode: 0644]