[PORT_FROM_R2]mmc: panic: using the api provided by PMU driver in panic mode
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Tue, 31 Jan 2012 07:36:22 +0000 (15:36 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 2 Feb 2012 04:00:03 +0000 (20:00 -0800)
commit72daed92ceb82f897413163c68736df17ace109e
treeeefa7411d287ea7b557751d1ef7a0637024bee45
parent58a8c0d1e2c92a9a455bd9016d2a32e24c776625
[PORT_FROM_R2]mmc: panic: using the api provided by PMU driver in panic mode

BZ: 21728

To power up host controller in panic mode, pci_set_power_state() is not
suitable since it will cause schedule in panic mode.

PMU driver has provided an API named pmu_set_lss01_to_d0i0_atomic which
is for lss01 device only to put it in D0i0 mode, and it can only be used
in atomic context.

Change-Id: I47b4c6e2c61d570999a57bcdf80554cab91401d2
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/33349
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mmc/host/sdhci-pci.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h
include/linux/mmc/host.h