diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2016-05-04 14:59:07 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-05-09 17:34:49 +0200 |
commit | e099aeea639ce491d3cd1c3802fe34d98045ffd8 (patch) | |
tree | 87f090215dc89255ef6a08bea3a82ed72e18c6a5 /sound/core/compress_offload.c | |
parent | 0c95c1d6197f3edd3f6ef76f927d67e8ec0794ed (diff) | |
download | op-kernel-dev-e099aeea639ce491d3cd1c3802fe34d98045ffd8.zip op-kernel-dev-e099aeea639ce491d3cd1c3802fe34d98045ffd8.tar.gz |
ALSA: pcm: Fix poll error return codes
We can't return a negative error code from the poll callback the return
type is unsigned and is checked against the poll specific flags we need
to return POLLERR if we encounter an error.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/compress_offload.c')
0 files changed, 0 insertions, 0 deletions