mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mmc: sdhci-esdhc-imx: remove D3CD check from SDHCI_HOST_CONTROL write
SDHCI_CTRL_D3CD is not a standard SDHCI_HOST_CONTROL, so there is no need to check it in SDHCI_HOST_CONTROL write at all. Remove it. Signed-off-by: Shawn Guo <[email protected]> Tested-by: Dirk Behme <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
ef4d0888bb
commit
6b40d18295
1 changed files with 2 additions and 4 deletions
|
|
@ -297,10 +297,8 @@ static void esdhc_writeb_le(struct sdhci_host *host, u8 val, int reg)
|
|||
*/
|
||||
return;
|
||||
case SDHCI_HOST_CONTROL:
|
||||
/* FSL messed up here, so we can just keep those three */
|
||||
new_val = val & (SDHCI_CTRL_LED | \
|
||||
SDHCI_CTRL_4BITBUS | \
|
||||
SDHCI_CTRL_D3CD);
|
||||
/* FSL messed up here, so we need to manually compose it. */
|
||||
new_val = val & (SDHCI_CTRL_LED | SDHCI_CTRL_4BITBUS);
|
||||
/* ensure the endianness */
|
||||
new_val |= ESDHC_HOST_CONTROL_LE;
|
||||
/* bits 8&9 are reserved on mx25 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue