staging: bcm2835-audio: remove compat ALSA card
authorAdrien Thierry <athierry@redhat.com>
Fri, 8 Apr 2022 15:03:58 +0000 (11:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 06:47:35 +0000 (08:47 +0200)
commit143b67f19ba1d72b010e6fb3d254d36a86d2bc03
tree9e6bdde66808f4501be658b26391a5736be5e282
parentf96f8ae08d33eeae65581b6dbf25d12e307e7b2c
staging: bcm2835-audio: remove compat ALSA card

Remove compat ALSA card, which has overlapping functionality with the
two other cards described by the driver (HDMI and headphones)

This handles TODO item "Revisit multi-cards options and PCM route mixer
control".

Move the S/PDIF device that was part of the compat ALSA card to the HDMI
card.

Only enable headphones card by default, because HDMI breaks when using
both vc4 and bcm2835-audio with HDMI card enabled.

Signed-off-by: Adrien Thierry <athierry@redhat.com>
Link: https://lore.kernel.org/r/20220408150359.26661-1-athierry@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c