[PORT FROM GB] Add support for dynamically adjusting volume during the call in S3...
authorShijie Zhang <shijie.zhang@intel.com>
Fri, 28 Oct 2011 00:54:50 +0000 (08:54 +0800)
committerbuildbot <buildbot@intel.com>
Mon, 12 Dec 2011 17:42:31 +0000 (09:42 -0800)
commitc2de5d49776658dd43b2b6d4c4120e76cbbce7b7
tree25868541d1b6732b587165501d03f4bac234018a
parente4dd37e184b2340916f61d8879d8a5fe3289cd56
[PORT FROM GB] Add support for dynamically adjusting volume during the call in S3 state

BZ: 13269

This patch fix the problem that can not adjust the volume during the
call in S3 state with screen off because of the proximity sensor. By
adding sysfs interface "enabled_wakeup" and "disabled_wakeup" in
gpio-keys to dynamically enable or disable the gpiokeys.

Change-Id: I80c45daca2999821502302998f76e0e54c806a68
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/26773
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/input/keyboard/gpio_keys.c