diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2013-08-20 06:18:54 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-08-20 08:22:00 (GMT) |
commit | 0ccc0065c90284f283314e52a96e76ae8a8dce0a (patch) | |
tree | eca5a0dabd7dc07faf75db0f4cb4eec4be768092 /drivers | |
parent | 7140812c4a3676e834bc2ed587be441afba04e18 (diff) | |
download | linux-fsl-qoriq-0ccc0065c90284f283314e52a96e76ae8a8dce0a.tar.xz |
mfd: rtsx: Clear hardware PFM mode in rtl8411b
Clear hw_pfm_en to disable hardware PFM mode, to fix a bug that in some
situation registers in 0xFDxx domain can't be accessed.
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/rtl8411.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/rtl8411.c b/drivers/mfd/rtl8411.c index 56cc248..d183fa0 100644 --- a/drivers/mfd/rtl8411.c +++ b/drivers/mfd/rtl8411.c @@ -114,6 +114,8 @@ static int rtl8411b_extra_init_hw(struct rtsx_pcr *pcr) 0xFF, pcr->sd30_drive_sel_3v3); rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CD_PAD_CTL, CD_DISABLE_MASK | CD_AUTO_DISABLE, CD_ENABLE); + rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, FUNC_FORCE_CTL, + 0x06, 0x00); return rtsx_pci_send_cmd(pcr, 100); } |