ST: Adding Runtime PM and S3 support for the shared transport release
authorAymen Zayet <aymenx.zayet@intel.com>
Fri, 16 Mar 2012 14:01:30 +0000 (15:01 +0100)
committerbuildbot <buildbot@intel.com>
Fri, 15 Jun 2012 05:41:02 +0000 (22:41 -0700)
commitb7f14bbd838ce461a614cf0af4b54b4d71c85aa1
treea35680a11dbb2676f6710f05977de96dd2733c59
parentdce17327ba73351960c3225226eaa4d225af193c
ST: Adding Runtime PM and S3 support for the shared transport release

BZ: 24772

This patch provides the implementation of PM runtime corresponding to
the new release of the shared transport layer :
- All the newly added callbacks for the KIM driver have been defined.
- The previous implementation of PM runtime get/put have been moved
to the new callbacks .chip_asleep() and .chip_awake() for more
consistency.
- Add more check to avoid S3 while the device is in ST_LL_AWAKE state.

Change-Id: I0aa6aceb5b6c692584e224dee03f9fadbb8dcfdb
Signed-off-by: Aymen Zayet <aymenx.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/51770
Reviewed-by: Champciaux, Nicolas <nicolas.champciaux@intel.com>
Tested-by: Champciaux, Nicolas <nicolas.champciaux@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/device_libs/platform_btwilink.c
drivers/misc/ti-st/st_core.c
drivers/misc/ti-st/st_kim.c
drivers/misc/ti-st/st_ll.c
include/linux/ti_wilink_st.h