Skip to content

tm6000-alsa: Implement fillbuf

Mauro Carvalho Chehab linux-media 1 version New

Get series with b4
b4 am 20100606115313.475eba6c@pedra

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] tm6000-alsa: Implement fillbuf

This series fixes some bugs at alsa initialization that were leading into passing a wrong pointer into alsa PCM substream private_data, causing oopses at start/stop stream.

It also implements a routine to fill the alsa buffers when data is received at the URB handler.

Note: I tested here with both tm6010 and tm5600 devices. The number of "audio" packets is incredibly small, meaning that or the audio packets aren't properly decoded, or there are still bugs at the copy_streams() routine. Maybe Stefan or Dmitri can double check what's going wrong there.

Mauro Carvalho Chehab (2):
tm6000-alsa: Fix several bugs at the driver initialization code
tm6000-alsa: Implement a routine to store data received from URB

 drivers/staging/tm6000/tm6000-alsa.c |  105 +++++++++++++++++++++++-----------
 drivers/staging/tm6000/tm6000-core.c |    6 +-
 drivers/staging/tm6000/tm6000.h      |    5 +-
 3 files changed, 78 insertions(+), 38 deletions(-)