diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-10-03 17:04:40 +0800 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2013-10-21 15:57:15 -0400 |
commit | 7b2399034af31d934ce3efc898e023e027f110bd (patch) | |
tree | 371580f9ba6a9b07a0f97837420f436c22157357 /drivers/mmc/host/msm_sdcc.c | |
parent | 8776a165d152d57a3a58895d55204614abe93d7f (diff) |
mmc: wmt-sdmmc: Simplify wmt_set_sd_power implementation
Simplify the code to set/clear BM_SD_OFF bit:
| power_inverted: 0 | power_inverted: 1
-------------------------------------------------
enable: 0 | SET BM_SD_OFF | CLEAR BM_SD_OFF
-------------------------------------------------
enable: 1 | CLEAR BM_SD_OFF | SET BM_SD_OFF
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/msm_sdcc.c')
0 files changed, 0 insertions, 0 deletions