linux-stable/arch
Mark Brown f19a2caaab
ASoC/tda998x: Fix reporting of nonexistent capture streams
Merge series from Mark Brown <broonie@kernel.org>:

The recently added pcm-test selftest has pointed out that systems with
the tda998x driver end up advertising that they support capture when in
reality as far as I can see the tda998x devices are transmit only.  The
DAIs registered through hdmi-codec are bidirectional, meaning that for
I2S systems when combined with a typical bidrectional CPU DAI the
overall capability of the PCM is bidirectional.  In most cases the I2S
links will clock OK but no useful audio will be returned which isn't so
bad but we should still not advertise the useless capability, and some
systems may notice problems for example due to pinmux management.

This is happening due to the hdmi-codec helpers not providing any
mechanism for indicating unidirectional audio so add one and use it in
the tda998x driver.  It is likely other hdmi-codec users are also
affected but I don't have those systems to hand.

Mark Brown (2):
  ASoC: hdmi-codec: Allow playback and capture to be disabled
  drm: tda99x: Don't advertise non-existent capture support

 drivers/gpu/drm/i2c/tda998x_drv.c |  2 ++
 include/sound/hdmi-codec.h        |  4 ++++
 sound/soc/codecs/hdmi-codec.c     | 30 +++++++++++++++++++++++++-----
 3 files changed, 31 insertions(+), 5 deletions(-)

base-commit: f0c4d9fc9c
--
2.30.2
2022-12-04 17:01:50 +00:00
..
alpha
arc
arm ASoC/tda998x: Fix reporting of nonexistent capture streams 2022-12-04 17:01:50 +00:00
arm64 arm64 fixes: 2022-11-18 14:31:03 -08:00
csky
hexagon
ia64
loongarch
m68k
microblaze
mips MIPS: pic32: treat port as signed integer 2022-11-11 15:53:58 +01:00
nios2
openrisc
parisc
powerpc powerpc: Fix writable sections being moved into the rodata region 2022-11-16 21:37:14 +11:00
riscv RISC-V Fixes for 6.1-rc5 2022-11-11 09:40:19 -08:00
s390 s390 updates for 6.1-rc6 2022-11-18 12:30:23 -08:00
sh
sparc
um
x86 - Do not hold fpregs lock when inheriting FPU permissions because the 2022-11-20 10:47:39 -08:00
xtensa
.gitignore
Kconfig