Commit bd9bfaf4 authored by Haynes Mathew George's avatar Haynes Mathew George
Browse files

ASoC: msm: Allow drain only if a write was called



For compressed drivers, allow the drain ioctl only if
there are pending writes. Return a proper error (-EWOULDBLOCK) otherwise.

Change-Id: I4799351a8930c44d88d6968802df98896fc1531a
Signed-off-by: default avatarHaynes Mathew George <hgeorge@codeaurora.org>
CRs-Fixed: 445370
parent acfab76f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment