Commit 92ce69f3 authored by Faiz Abbas's avatar Faiz Abbas Committed by Greg Kroah-Hartman

mmc: sdhci_am654: Fix SLOTTYPE write

commit 73979931 upstream.

In the call to regmap_update_bits() for SLOTTYPE, the mask and value
fields are exchanged. Fix this.
Signed-off-by: default avatarFaiz Abbas <faiz_abbas@ti.com>
Fixes: 41fd4cae ("mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b27cbe56
......@@ -209,7 +209,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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment