summaryrefslogtreecommitdiff
path: root/mm/gup.c
diff options
context:
space:
mode:
authorSean Nyekjaer <sean@geanix.com>2021-09-20 13:42:21 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-19 08:27:32 +0100
commit269efcf0bbee582fa061fd7e4dfac05ee63e051b (patch)
tree26fd4ff4f060953a204e9a9efd3f24d378afdc92 /mm/gup.c
parent131fb9f2b96f671679e49264ac4ae2f002e97074 (diff)
iio: accel: fxls8962af: add wake on event
This adds ways for the SoC to wake from accelerometer wake events. In the suspend function we skip disabling the sensor if wakeup-source and events are activated. If buffered reads are enabled they will be deactivated before suspend. As the onboard buffer is only holding up to 32 12-bit X/Y/Z data triplets. Signed-off-by: Sean Nyekjaer <sean@geanix.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210920114221.1595543-2-sean@geanix.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions