mfd: rtsx: Fix PM suspend for 5227 & 5249
authorMicky Ching <micky_ching@realsil.com.cn>
Fri, 10 Oct 2014 05:58:44 +0000 (13:58 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:48 +0000 (16:18 +0000)
commit5cb5d9616a47d5383a85379afa4429382ef46b38
treececbc166e912f9ac1f40dcb32ad2b2fec5be8684
parent130dd5b039dcbab7bcb2fdce0bb3cc7347b08b29
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>
drivers/mfd/Makefile
drivers/mfd/rts5227.c
drivers/mfd/rts5249.c
drivers/mfd/rtsx_gops.c [new file with mode: 0644]
drivers/mfd/rtsx_pcr.h
include/linux/mfd/rtsx_pci.h