bcm2708: alsa sound driver
authorpopcornmix <popcornmix@gmail.com>
Mon, 26 Mar 2012 21:15:50 +0000 (22:15 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:44:52 +0000 (15:44 +0100)
commit254c286b4afc8056387bee40e653325f2f825f57
treea4ab4eb46bd2d4d5ed209bee05dd5c1a668d2016
parentc81a080adfdcdf54e4ab627914abc0b1969a8b5d
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]