Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [tinycompress][PATCH 0/2] Fixes for write loop logic
@ 2013-06-05 12:08 Richard Fitzgerald
  2013-06-05 12:10 ` [tinycompress][PATCH 1/2] compress: copy final version of config struct Richard Fitzgerald
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Richard Fitzgerald @ 2013-06-05 12:08 UTC (permalink / raw)
  To: vinod.koul; +Cc: alsa-devel, ckeepax, pierre-louis.bossart

Two small patches which correct the logic of compress_write()
so that it will work correctly if asked to write a buffer
shorter than the fragment length. The first patch is needed
to ensure that if the client requests auto-configuration
of fragment size the internal copy of the config contains the
configured fragment size. The second patch contains the actual
fix to the write loop logic.

Richard Fitzgerald (2):
  compress: copy final version of config struct
  compress: do not poll if enough space to write remaining data

 compress.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

-- 
1.7.2.5

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

end of thread, other threads:[~2013-06-07  1:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-05 12:08 [tinycompress][PATCH 0/2] Fixes for write loop logic Richard Fitzgerald
2013-06-05 12:10 ` [tinycompress][PATCH 1/2] compress: copy final version of config struct Richard Fitzgerald
2013-06-05 12:11 ` [tinycompress][PATCH 2/2] compress: do not poll if enough space to write remaining data Richard Fitzgerald
2013-06-07  0:30 ` [tinycompress][PATCH 0/2] Fixes for write loop logic Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox