summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-23 15:35:26 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-08-23 15:44:47 +0200
commita1dca315ce3f78347bca8ce8befe3cc71ae63b7e (patch)
treed86f7a45cb7c631e0e2c295e3f70d1bed1d849f7 /drivers/spi
parent16cc2cf642eb73978a3ebde66dc94d24d46b4798 (diff)
MIPS: pci-ar724x: avoid data bus error due to a missing PCIe module
If the controller has no PCIe module attached, accessing of the device configuration space causes a data bus error. Avoid this by checking the status of the PCIe link in advance, and indicate an error if the link is down. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: stable@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4293/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions