]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: Fix poll error return codes
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 4 May 2016 13:59:10 +0000 (14:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 May 2016 15:35:43 +0000 (17:35 +0200)
commit3cb899285a97407a925fb59d245cff6acafe5488
tree39916a757aa781af998ef37fe293efaf3716cbab
parent63434a4741b0722265f865568f7e5376f57b0330
ALSA: compress: 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>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c