All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix poll error returns
@ 2016-05-04 13:59 Charles Keepax
  2016-05-04 13:59 ` [PATCH 1/5] ALSA: pcm: Fix poll error return codes Charles Keepax
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Charles Keepax @ 2016-05-04 13:59 UTC (permalink / raw)
  To: tiwai; +Cc: vinod.koul, alsa-devel

We return negative values from the file_operations poll callback
in a few places, this callback returns an unsigned int and is
expected to only return the poll specific flags. This series
fixes up these issues and makes a couple of small tidy ups to the
code around the edges of those functions.

I noticed this issue whilst doing some additional testing on my
propagation of compressed stream error series, but I decided to
push these up separately as it is worth getting the fixes in
now and not tying them up with that patch chain which is taking
longer to get merged.  Also I included the first patch of that
chain (Replace complex if statement with switch) because it is a
trivial tidy up and might as well get merged now as well.

Thanks,
Charles

Charles Keepax (5):
  ALSA: pcm: Fix poll error return codes
  ALSA: compress: Use snd_compr_get_poll on error path
  ALSA: compress: Remove pointless NULL check
  ALSA: compress: Fix poll error return codes
  ALSA: compress: Replace complex if statement with switch

 sound/core/compress_offload.c | 25 ++++++++++++-------------
 sound/core/pcm_native.c       |  4 ++--
 2 files changed, 14 insertions(+), 15 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-05-09 15:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-04 13:59 [PATCH 0/5] Fix poll error returns Charles Keepax
2016-05-04 13:59 ` [PATCH 1/5] ALSA: pcm: Fix poll error return codes Charles Keepax
2016-05-04 23:26   ` Takashi Sakamoto
2016-05-05  9:39     ` Clemens Ladisch
2016-05-05 11:46       ` Charles Keepax
2016-05-06 18:11         ` Takashi Sakamoto
2016-05-04 13:59 ` [PATCH 2/5] ALSA: compress: Use snd_compr_get_poll on error path Charles Keepax
2016-05-04 13:59 ` [PATCH 3/5] ALSA: compress: Remove pointless NULL check Charles Keepax
2016-05-04 13:59 ` [PATCH 4/5] ALSA: compress: Fix poll error return codes Charles Keepax
2016-05-04 13:59 ` [PATCH v6 RESEND 5/5] ALSA: compress: Replace complex if statement with switch Charles Keepax
2016-05-09 12:13 ` [PATCH 0/5] Fix poll error returns Takashi Iwai
2016-05-09 15:19   ` Vinod Koul
2016-05-09 15:36     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.