diff options
author | Micky Ching <micky_ching@realsil.com.cn> | 2014-10-10 07:58:44 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-11-25 17:18:48 +0100 |
commit | 5cb5d9616a47d5383a85379afa4429382ef46b38 (patch) | |
tree | cecbc166e912f9ac1f40dcb32ad2b2fec5be8684 /drivers/mfd/rtsx_pcr.h | |
parent | mfd/regulator: dt-bindings: max77686: Document regulators off in suspend (diff) | |
download | linux-5cb5d9616a47d5383a85379afa4429382ef46b38.tar.xz linux-5cb5d9616a47d5383a85379afa4429382ef46b38.zip |
mfd: rtsx: Fix PM suspend for 5227 & 5249
Fix rts5227&5249 failed send buffer cmd after suspend,
PM_CTRL3 should reset before send any buffer cmd after suspend.
Otherwise, buffer cmd will failed, this will lead resume fail.
Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.h')
-rw-r--r-- | drivers/mfd/rtsx_pcr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/rtsx_pcr.h b/drivers/mfd/rtsx_pcr.h index 07e4c2ebf05a..fe2bbb67defc 100644 --- a/drivers/mfd/rtsx_pcr.h +++ b/drivers/mfd/rtsx_pcr.h @@ -72,4 +72,7 @@ do { \ pcr->ms_pull_ctl_disable_tbl = __device##_ms_pull_ctl_disable_tbl; \ } while (0) +/* generic operations */ +int rtsx_gops_pm_reset(struct rtsx_pcr *pcr); + #endif |