diff options
author | Pierre Ossman <pierre@ossman.eu> | 2009-05-03 20:45:03 +0200 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-06-13 22:42:57 +0200 |
commit | ae628903ab6cc9a04fdf8d4ff3f0c5b2ffa6f939 (patch) | |
tree | cf505d41100116d31692134fac3b2978cf8bda77 /drivers/mmc/host/sdhci.h | |
parent | 7ceeb6a40a4dcc9b9cded6127ad5cdddb79b40ad (diff) | |
download | blackbird-op-linux-ae628903ab6cc9a04fdf8d4ff3f0c5b2ffa6f939.tar.gz blackbird-op-linux-ae628903ab6cc9a04fdf8d4ff3f0c5b2ffa6f939.zip |
sdhci: avoid changing voltage needlessly
Because of granularity issues, sometimes we told the hardware to change
to the voltage we were already at. Rework the logic so this doesn't
happen.
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 65c6f996bbd3..2de08349c3ca 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -255,7 +255,7 @@ struct sdhci_host { unsigned int timeout_clk; /* Timeout freq (KHz) */ unsigned int clock; /* Current clock (MHz) */ - unsigned short power; /* Current voltage */ + u8 pwr; /* Current voltage */ struct mmc_request *mrq; /* Current request */ struct mmc_command *cmd; /* Current command */ |