misc/apds990x: Fix proximity sensor couldn't wakeup screen issue
authorlizhuangzhi <zhuangzhi.li@intel.com>
Wed, 28 Mar 2012 14:16:04 +0000 (22:16 +0800)
committerbuildbot <buildbot@intel.com>
Sat, 31 Mar 2012 03:13:34 +0000 (20:13 -0700)
commit35bf633c1170e8d51c06c9647f31cb23f7cd491d
tree587e2430ca3bca559c8dd9a86885876549eba0d4
parentf7d459c66106a96218e69d590f85049f3c610bd9
misc/apds990x: Fix proximity sensor couldn't wakeup screen issue

BZ: 28722

Remove IRQF_TRIGGER_LOW flag when request_threaded_irq, We only need
to use IRQF_TRIGGER_FALLING for interrupt triger, This will avoid
IRQ pending when wakeup system.If we use level trigger mode, after the
system wakeup by IRQ, need to check_irq_resend when resume noirq, the level
irq will be ignored, so irq handler won't run, the irq pending bit never cleared.

Change-Id: I1a646ed5b3a4caff2efd93a82248e034c4fc41a2
Signed-off-by: Zhuangzhi Li <zhuangzhi.li@intel.com>
Reviewed-on: http://android.intel.com:8080/41353
Reviewed-by: Yan, Leo <leo.yan@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: Onkalo, Samu <samu.onkalo@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/misc/apds990x.c