This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: Adds patch for fixing wifi on raspberry pi
- Loading branch information
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c | ||
index d0e83db42ae5..94eeed2a1b53 100644 | ||
--- a/drivers/mmc/host/sdhci-iproc.c | ||
+++ b/drivers/mmc/host/sdhci-iproc.c | ||
@@ -279,7 +279,10 @@ static int sdhci_iproc_probe(struct platform_device *pdev) | ||
|
||
iproc_host->data = iproc_data; | ||
|
||
- mmc_of_parse(host->mmc); | ||
+ ret = mmc_of_parse(host->mmc); | ||
+ if (ret) | ||
+ goto err; | ||
+ | ||
sdhci_get_of_property(pdev); | ||
|
||
host->mmc->caps |= iproc_host->data->mmc_caps; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters