projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f93db6
)
mmc: core: simplify an expression
author
Wolfram Sang
<wsa+renesas@sang-engineering.com>
Tue, 1 Sep 2020 15:02:50 +0000
(17:02 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 7 Sep 2020 07:16:32 +0000
(09:16 +0200)
We already have 'host' as a variable, so use it.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link:
https://lore.kernel.org/r/20200901150250.26236-5-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/mmc.c
b/drivers/mmc/core/mmc.c
index
216bd1a
..
67e95eb
100644
(file)
--- a/
drivers/mmc/core/mmc.c
+++ b/
drivers/mmc/core/mmc.c
@@
-1173,7
+1173,7
@@
static int mmc_select_hs400(struct mmc_card *card)
host->ops->hs400_downgrade(host);
/* Set host controller to HS timing */
- mmc_set_timing(
card->
host, MMC_TIMING_MMC_HS);
+ mmc_set_timing(host, MMC_TIMING_MMC_HS);
/* Reduce frequency to HS frequency */
max_dtr = card->ext_csd.hs_max_dtr;