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)
commite4e8459ce093a9dd9a7d4446660e5e7432eea614
tree202e8e5c68eead368b583a1e36345972dd342729
parent72d17f633292b8aca9dd44988b967343f3357a1e
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]