sensors: brcm: Remove wake_lock to fix the suspend issue 77/143477/1
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 10 Aug 2017 05:33:47 +0000 (14:33 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 10 Aug 2017 05:33:47 +0000 (14:33 +0900)
commitc7825ca34422afa756af37682c7ad9290a43dc05
treed6188434f39d574df28cb6e31667adf180a74142
parentba60b2b36aa6afca6ebd96e0bbc89b55af57429e
sensors: brcm: Remove wake_lock to fix the suspend issue

Even if TM2 doesn't use the wake_lock feature, the brcm sensor
drivers used the wake_lock and the the count of GPS interrupt
of brcm sensor is too much. The too much interrupt causes the
pending of reading the 'sys/power/wakeup_count' and then failed
to enter the suspend state by user-process.

This patch removes the wake_lock code to fix the suspend issue.

Change-Id: Ibd161a7a53adc4398f145e482a90efa35febbdb6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/sensors/brcm/bbdpl2/bcm_gps_spi.c