[PORT FROM R2] mid_pmu: remove sysfs interface (and create kernel interface) used...
authorDyut Kumar Sil <dyut.k.sil@intel.com>
Mon, 9 Jan 2012 03:39:05 +0000 (09:09 +0530)
committerbuildbot <buildbot@intel.com>
Wed, 11 Jan 2012 21:08:52 +0000 (13:08 -0800)
commit386c68c07230db6b5c6be8dd4d83b6956f58987b
tree6c5cfba7309cf03bad242f6f75e93650c4684570
parentb6cf60844dd32e8ead742a33ca08d6632f9d0875
[PORT FROM R2] mid_pmu: remove sysfs interface (and create kernel interface) used to stop PM for IFWI update.

BZ: 19383

This patch create a kernel interface pmu_set_devices_in_d0i0() to
set all the south complex devices in D0i0 state and any further request
to set any south complex device in some other low power state will
be ignored. And this patch removes sysfs interface to do the same functionality.

Change-Id: I04429659ef6932eb91f3c6f80f7c25b69b885fd5
Signed-off-by: Dyut Kumar Sil <dyut.k.sil@intel.com>
Signed-off-by: Illyas Mansoor <illyas.mansoor@intel.com>
Reviewed-on: http://android.intel.com:8080/31149
Tested-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/mfld/pmu.c
arch/x86/platform/mrst/mrst.c
drivers/platform/x86/intel_scu_ipc.c
include/linux/intel_mid_pm.h