summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/whc-rc.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-04-25 12:58:40 +0100
committerChris Ball <chris@printf.net>2014-05-22 07:26:30 -0400
commit91138ca51d8cdbefceb1ed1cd2dbfdd763af6cdf (patch)
tree11f23f1bbeb3cf32a188648d4fbafac4130ad2dc /drivers/uwb/whc-rc.c
parentd1e49f77d7c7b75fdc022e1d46c1549bbc91c5b7 (diff)
downloadlinux-91138ca51d8cdbefceb1ed1cd2dbfdd763af6cdf.tar.gz
linux-91138ca51d8cdbefceb1ed1cd2dbfdd763af6cdf.tar.bz2
linux-91138ca51d8cdbefceb1ed1cd2dbfdd763af6cdf.zip
mmc: sdhci: clean up sdhci_update_clock()/sdhci_set_clock()
Only one caller to sdhci_set_clock() needs to check whether the requested clock frequency was the same as the currently set frequency, yet we work around this in several other sites via sdhci_update_clock(). Rather than doing this, move those checks out into sdhci_do_set_ios(), which then allows sdhci_update_clock() to be eliminated. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Markus Pargmann <mpa@pengutronix.de> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/uwb/whc-rc.c')
0 files changed, 0 insertions, 0 deletions