summaryrefslogtreecommitdiff
path: root/drivers/mfd/rtl8411.c
diff options
context:
space:
mode:
authorWei WANG <wei_wang@realsil.com.cn>2013-08-20 10:18:55 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-08-20 12:22:01 +0400
commiteb891c65c9c87e55f728d95bcc514dea337aed12 (patch)
tree691325f4eb2d39ab93db3490e6d15d37840ab405 /drivers/mfd/rtl8411.c
parent0ccc0065c90284f283314e52a96e76ae8a8dce0a (diff)
downloadlinux-eb891c65c9c87e55f728d95bcc514dea337aed12.tar.xz
mfd: rtsx: Configure to enter a deeper power-saving mode in S3
Set a bit to enable rts5227 and rts5249 to enter a deeper internal power-saving mode in S3, and recover it after resuming. Signed-off-by: Wei WANG <wei_wang@realsil.com.cn> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/rtl8411.c')
-rw-r--r--drivers/mfd/rtl8411.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rtl8411.c b/drivers/mfd/rtl8411.c
index d183fa002338..37367fb1c11b 100644
--- a/drivers/mfd/rtl8411.c
+++ b/drivers/mfd/rtl8411.c
@@ -86,7 +86,7 @@ static void rtl8411b_fetch_vendor_settings(struct rtsx_pcr *pcr)
map_sd_drive(rtl8411b_reg_to_sd30_drive_sel_3v3(reg));
}
-static void rtl8411_force_power_down(struct rtsx_pcr *pcr)
+static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state)
{
rtsx_pci_write_register(pcr, FPDCTL, 0x07, 0x07);
}