bcm2708: alsa sound driver
authorpopcornmix <popcornmix@gmail.com>
Mon, 26 Mar 2012 21:15:50 +0000 (22:15 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 12:17:53 +0000 (12:17 +0000)
commitc7c2684902f1317ec8346c93e59f1c9c6dcdad15
treeada6c354578737159be5c73c1828be9dab1736d4
parent5f4125c0abca060177d42e184ed5145b9ebf59c5
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]