commit | a01a973f8b2e63c48b70f77c3b5fb26e09fe2859 | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Mon Jan 14 12:17:15 2013 -0800 |
committer | Jay Chokshi <jchokshi@codeaurora.org> | Thu Feb 14 10:48:48 2013 -0800 |
tree | 25ff384146fe33d8f5971584ffb21db9d469254e | |
parent | 6a3ef9aeaa7b75d321f805aa009076f6a848c8d6 [diff] |
ASoC: msm: Allow drain only if a write was called For compressed drivers, issue EOS command in the drain ioctl only if there are any buffers being decoded. Return a proper error (-EWOULDBLOCK) otherwise. Change-Id: Ie0a8a04dd352446c69241686518de91e9691b88a Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>