diff options
| author | Jisheng Zhang <[email protected]> | 2018-05-25 07:15:09 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2018-05-29 10:24:26 +0000 |
| commit | fb8617e1ee4d4057c76730e2f8376ece45663c34 (patch) | |
| tree | b57b30a1460dd7e6e8bd87a3497fee5c8fe70e8d /drivers/fpga/socfpga-a10.c | |
| parent | mmc: sd: Define name for default speed dtr (diff) | |
| download | kernel-fb8617e1ee4d4057c76730e2f8376ece45663c34.tar.gz kernel-fb8617e1ee4d4057c76730e2f8376ece45663c34.zip | |
mmc: sdhci-*: Don't emit error msg if sdhci_add_host() fails
I noticed below error msg with sdhci-pxav3 on some berlin platforms:
[.....] sdhci-pxav3 f7ab0000.sdhci failed to add host
It is due to getting related vmmc or vqmmc regulator returns
-EPROBE_DEFER. It doesn't matter at all but it's confusing.
>From another side, if driver probing fails and the error number isn't
-EPROBE_DEFER, the core will tell us something as below:
[.....] sdhci-pxav3: probe of f7ab0000.sdhci failed with error -EXX
So it's not necessary to emit error msg if sdhci_add_host() fails. And
some other sdhci host drivers also have this issue, let's fix them
together.
Signed-off-by: Jisheng Zhang <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Patrice Chotard <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions
