diff options
author | David Cohen <david.a.cohen@linux.intel.com> | 2015-09-22 17:00:47 -0700 |
---|---|---|
committer | David Cohen <david.a.cohen@linux.intel.com> | 2015-09-22 17:04:13 -0700 |
commit | 32af5b47df20e3508f8ed9e7ec2f1cd01662a7cb (patch) | |
tree | 9e49d455124cf829e98ac4ddbb392ceb5c5feec0 | |
parent | 065cfc7d6720a5a008d191ed6db8c7d215ab033c (diff) | |
download | intel-mid-v4.3-edison.tar.gz |
HACK: mmc: ignore -EBUSY when probing mmcv4.3-edison
For some unknown reasons so far pci_enable() returns -EBUSY when probing
MMC. Our initial hack is to ignore it until the problem is solved.
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index b3b0a3e4fca165..82d87b53cfa524 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -1724,8 +1724,13 @@ static int sdhci_pci_probe(struct pci_dev *pdev, } ret = pci_enable_device(pdev); + + /* + * HACK: investigate why it returns -EBUSY. + * But looks like we ignore for now. if (ret) return ret; + */ chip = kzalloc(sizeof(struct sdhci_pci_chip), GFP_KERNEL); if (!chip) { |