public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Update ALSA driver to use media controller API
@ 2015-05-08 19:31 Shuah Khan
  2015-05-08 19:31 ` [PATCH 1/2] media: new media controller API for device resource support Shuah Khan
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Shuah Khan @ 2015-05-08 19:31 UTC (permalink / raw)
  To: mchehab, hans.verkuil, laurent.pinchart, tiwai, perex, agoode,
	pierre-louis.bossart, gtmkramer, clemens, vladcatoi, damien,
	chris.j.arges, takamichiho, misterpib, daniel, pmatilai, jussi,
	normalperson, fisch602, joe
  Cc: Shuah Khan, linux-media, alsa-devel

This patch series updates ALSA driver to use media controller
API to share tuner with DVB and V4L2 drivers that control AU0828
media device. Two new interfaces are added to media controller
API to enable creating media device as a device resource. This
allows creating media device as a device resource on the main
struct device that is common to all drivers that control a single
media hardware and share resources on it. Drivers then can find
the common media device to register entities and manage links,
and pipelines.

Tested with and without CONFIG_MEDIA_CONTROLLER enabled.
Tested tuner entity doesn't exist case as au0828 v4l2
driver is the one that will create the tuner when it gets
updated to use media controller API.

Please note that au0828 updates media controller are necessary
before the resource sharing can work across ALSA and au0828
dvb and v4l2 drivers. This work is in progress and another
developer is working on it.

Shuah Khan (2):
  media: new media controller API for device resource support
  sound/usb: Update ALSA driver to use media controller API

 drivers/media/media-device.c | 33 +++++++++++++++++++++++++
 include/media/media-device.h |  2 ++
 sound/usb/card.c             |  5 ++++
 sound/usb/card.h             | 12 +++++++++
 sound/usb/pcm.c              | 23 +++++++++++++++++-
 sound/usb/quirks-table.h     |  1 +
 sound/usb/quirks.c           | 58 +++++++++++++++++++++++++++++++++++++++++++-
 sound/usb/quirks.h           |  6 +++++
 sound/usb/stream.c           | 40 ++++++++++++++++++++++++++++++
 sound/usb/usbaudio.h         |  1 +
 10 files changed, 179 insertions(+), 2 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-06-01 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08 19:31 [PATCH 0/2] Update ALSA driver to use media controller API Shuah Khan
2015-05-08 19:31 ` [PATCH 1/2] media: new media controller API for device resource support Shuah Khan
2015-05-29 10:34   ` Hans Verkuil
2015-05-08 19:31 ` [PATCH 2/2] sound/usb: Update ALSA driver to use media controller API Shuah Khan
2015-05-09  4:51   ` Eric Wong
2015-05-11 16:09     ` Shuah Khan
2015-05-27 15:24   ` Takashi Iwai
2015-06-01 15:51     ` Shuah Khan
2015-05-29 10:43   ` Hans Verkuil
2015-05-22 20:34 ` [PATCH 0/2] " Shuah Khan

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