]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
bcm2708: alsa sound driver
authorpopcornmix <popcornmix@gmail.com>
Mon, 26 Mar 2012 21:15:50 +0000 (22:15 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 11 Aug 2017 10:57:52 +0000 (12:57 +0200)
commit6e8697392c3b35dd3ab55240313c021ca0f63845
tree3f0e7c7670ac1ce44fabd40f06d531e437b248fb
parent46ffdb7f2637954246cbcb58adb5f9abb99fd85e
bcm2708: alsa sound driver

Signed-off-by: popcornmix <popcornmix@gmail.com>
alsa: add mmap support and some cleanups to bcm2835 ALSA driver

snd-bcm2835: Add support for spdif/hdmi passthrough

This adds a dedicated subdevice which can be used for passthrough of non-audio
formats (ie encoded a52) through the hdmi audio link. In addition to this
driver extension an appropriate card config is required to make alsa-lib
support the AES parameters for this device.

snd-bcm2708: Add mutex, improve logging

Fix for ALSA driver crash

Avoids an issue when closing and opening vchiq where a message can arrive before service handle has been written

alsa: reduce severity of expected warning message

snd-bcm2708: Fix dmesg spam for non-error case

alsa: Ensure mutexes are released through error paths

alsa: Make interrupted close paths quieter

BCM270x: Add onboard sound device to Device Tree

Add Device Tree support to alsa driver.
Add device to Device Tree.
Don't add platform devices when booting in DT mode.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
bcm2835: access controls under the audio mutex

I don't think the ALSA framework provides any kind of automatic
synchronization within the control callbacks. We most likely need
to ensure this manually, so add locking around all access to shared
mutable data. In particular, bcm2835_audio_set_ctls() should
probably always be called under our own audio lock.

snd-bcm2835: Don't allow responses from VC to be interrupted by user signals

There should always be a response, and retry after a signal interruption is not handled, so don't report
we are interruptible.

See: https://github.com/raspberrypi/linux/issues/1560

snd-bcm2835: Use bcm2835_hw params in preallocate
sound/arm/Kconfig
sound/arm/Makefile
sound/arm/bcm2835-ctl.c [new file with mode: 0755]
sound/arm/bcm2835-pcm.c [new file with mode: 0755]
sound/arm/bcm2835-vchiq.c [new file with mode: 0755]
sound/arm/bcm2835.c [new file with mode: 0644]
sound/arm/bcm2835.h [new file with mode: 0755]
sound/arm/vc_vchi_audioserv_defs.h [new file with mode: 0644]