diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2019-05-28 15:29:26 +0530 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-03 15:18:25 +0200 |
commit | 7397993145872c74871ab2aa7fa26a427144088a (patch) | |
tree | 41386417a556d4519dc08502420611a1bf07e3c1 /drivers/mmc/host | |
parent | 89f3c365f3e113d087f105c3acbbb5a71eee84e3 (diff) | |
download | linux-7397993145872c74871ab2aa7fa26a427144088a.tar.bz2 |
mmc: sdhci_am654: Fix SLOTTYPE write
In the call to regmap_update_bits() for SLOTTYPE, the mask and value
fields are exchanged. Fix this.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Fixes: 41fd4caeb00b ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/sdhci_am654.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index a91c0b45c48d..3222ea4d584d 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -231,7 +231,7 @@ static int sdhci_am654_init(struct sdhci_host *host) ctl_cfg_2 = SLOTTYPE_EMBEDDED; regmap_update_bits(sdhci_am654->base, CTL_CFG_2, - ctl_cfg_2, SLOTTYPE_MASK); + SLOTTYPE_MASK, ctl_cfg_2); return sdhci_add_host(host); } |