Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a2e68be8 authored by Bhalchandra Gajare's avatar Bhalchandra Gajare Committed by mohammed thasleem
Browse files

ASoC: msm-lsm-client: Use freezable wait for EVENT_STATUS ioctl.



The EVENT_STATUS ioctl waits until the underlying hardware raises an
interrupt. It is required for this ioctl to wait even in suspend state.
Using wait_event_interruptible causes issue as the userspace may try to
call the ioctl again. As this wait is needed even during suspended
state, fix the interruptible issues by using wait_event_freezable
so that the system can be frozen.

CRs-fixed: 734125
Change-Id: I1515b110ef0b39a6c021b1921179b61b4bc4909c
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: default avatarmohammed thasleem <mthasl@codeaurora.org>
parent 3b4c46f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment