Skip to content

Commit

Permalink
emmc: driver defect clean up
Browse files Browse the repository at this point in the history
PD#152884: driver defect clean up
torvalds#307.

Change-Id: Ie81654ecc710bb322e5411d8f66d670388e563ee
Signed-off-by: Nan Li <nan.li@amlogic.com>
  • Loading branch information
Nan Li authored and akiernan committed Nov 4, 2022
1 parent 89a06c3 commit 4a0399d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/amlogic/mmc/aml_sd_emmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@ static void aml_sd_emmc_set_power(struct amlsd_host *host, u32 power_mode)
case MMC_POWER_OFF:
writel(0, host->base + SD_EMMC_DELAY);
writel(0, host->base + SD_EMMC_ADJUST);
break;
default:
if (pdata->pwr_pre)
pdata->pwr_pre(pdata);
Expand Down

0 comments on commit 4a0399d

Please sign in to comment.