summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rts5229.c
diff options
context:
space:
mode:
authorWei WANG2013-08-20 08:18:55 +0200
committerSamuel Ortiz2013-08-20 10:22:01 +0200
commiteb891c65c9c87e55f728d95bcc514dea337aed12 (patch)
tree691325f4eb2d39ab93db3490e6d15d37840ab405 /drivers/mfd/rts5229.c
parentmfd: rtsx: Clear hardware PFM mode in rtl8411b (diff)
downloadkernel-qcow2-linux-eb891c65c9c87e55f728d95bcc514dea337aed12.tar.gz
kernel-qcow2-linux-eb891c65c9c87e55f728d95bcc514dea337aed12.tar.xz
kernel-qcow2-linux-eb891c65c9c87e55f728d95bcc514dea337aed12.zip
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/rts5229.c')
-rw-r--r--drivers/mfd/rts5229.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rts5229.c b/drivers/mfd/rts5229.c
index e8261d7436a8..afb0f24bac71 100644
--- a/drivers/mfd/rts5229.c
+++ b/drivers/mfd/rts5229.c
@@ -56,7 +56,7 @@ static void rts5229_fetch_vendor_settings(struct rtsx_pcr *pcr)
map_sd_drive(rtsx_reg_to_sd30_drive_sel_3v3(reg));
}
-static void rts5229_force_power_down(struct rtsx_pcr *pcr)
+static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state)
{
rtsx_pci_write_register(pcr, FPDCTL, 0x03, 0x03);
}