ASoC: msm-cpe-lsm: 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: I5c84ff3f0a2ead4989cdd42c7eb077258acefb08
Signed-off-by:
Bhalchandra Gajare <gajare@codeaurora.org>
Loading
Please register or sign in to comment