diff options
author | Kevin Liu <kliu5@marvell.com> | 2012-10-17 13:04:44 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-11-07 21:02:04 +0100 |
commit | 657d59823c095e8f03e2744d765f53700331ff8f (patch) | |
tree | 33cb97164df514189cf478d4bcb7a327f2c0c856 /drivers/net/ieee802154 | |
parent | mmc: fix sdhci-dove probe/removal (diff) | |
download | linux-657d59823c095e8f03e2744d765f53700331ff8f.tar.xz linux-657d59823c095e8f03e2744d765f53700331ff8f.zip |
mmc: sdhci: fix IS_ERR() checking of regulator_get()
There are two problems here:
The check for vmmc was printing an unnecessary pr_info() when
host->vmmc is NULL.
The intent of the check for vqmmc was to only remove UHS if we have a
regulator that doesn't support the required voltage, but since IS_ERR()
doesn't catch NULL, we were actually removing UHS modes if vqmmc isn't
present at all -- since it isn't present for most users, this breaks
UHS for them. This patch fixes that UHS regression in 3.7-rc1.
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Bin Wang <binw@marvell.com>
Reviewed-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/net/ieee802154')
0 files changed, 0 insertions, 0 deletions