mmc: sdhci-pci: remove PCI PM functions in suspend/resume callback
authorChuanxiao.Dong <chuanxiao.dong@intel.com>
Tue, 15 Jul 2014 09:28:05 +0000 (17:28 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Sat, 26 Jul 2014 09:23:41 +0000 (11:23 +0200)
commit6b91f2d42ad5506f21f83e25ffd56f27981825a7
tree4b5706c8101096d21ece4384648c84261525c34e
parent5204d00f06ac9af4ef9c469cce7f9bbe179739b1
mmc: sdhci-pci: remove PCI PM functions in suspend/resume callback

It is not required (in fact it even is not recommended) that a PCI
driver's suspend() callback save the standard configuration registers
of the device, prepare it for waking up the system, or put it into a
low-power state.  All of these operations can very well be taken
care of by the PCI subsystem, without the driver's participation. Thus
remove these PCI functions.

For the device which has wake up capability, use device_init_wakeup to
init the wake up capability so that PCI core will help to enable the wakeup
for it.

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci.c