Unverified Commit f19a2caa authored by Mark Brown's avatar Mark Brown
Browse files

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: f0c4d9fc
--
2.30.2
parents 969357ec a04f1c81
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2452,6 +2452,10 @@ S: 482 Shadowgraph Dr.
S: San Jose, CA  95110
S: USA

N: Michal Marek
E: michal.lkml@markovi.net
D: Kbuild Maintainer 2009-2017

N: Martin Mares
E: mj@ucw.cz
W: http://www.ucw.cz/~mj/
+4 −1
Original line number Diff line number Diff line
@@ -16,7 +16,10 @@ description:

properties:
  compatible:
    items:
    oneOf:
      - const: goodix,gt7375p
      - items:
          - const: goodix,gt7986u
          - const: goodix,gt7375p

  reg:
+2 −3
Original line number Diff line number Diff line
@@ -16,12 +16,11 @@ Parallel Port Devices
16x50 UART Driver
=================

.. kernel-doc:: drivers/tty/serial/serial_core.c
   :export:

.. kernel-doc:: drivers/tty/serial/8250/8250_core.c
   :export:

See serial/driver.rst for related APIs.

Pulse-Width Modulation (PWM)
============================

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ the Technical Advisory Board (TAB) or other maintainers if you're
uncertain how to handle situations that come up.  It will not be
considered a violation report unless you want it to be.  If you are
uncertain about approaching the TAB or any other maintainers, please
reach out to our conflict mediator, Joanna Lee <joanna.lee@gesmer.com>.
reach out to our conflict mediator, Joanna Lee <jlee@linuxfoundation.org>.

In the end, "be kind to each other" is really what the end goal is for
everybody.  We know everyone is human and we all fail at times, but the
+38 −9
Original line number Diff line number Diff line
@@ -2197,7 +2197,7 @@ M: Wei Xu <xuwei5@hisilicon.com>
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S:	Supported
W:	http://www.hisilicon.com
T:	git git://github.com/hisilicon/linux-hisi.git
T:	git https://github.com/hisilicon/linux-hisi.git
F:	arch/arm/boot/dts/hi3*
F:	arch/arm/boot/dts/hip*
F:	arch/arm/boot/dts/hisi*
@@ -4809,7 +4809,7 @@ R: Jeff Layton <jlayton@kernel.org>
L:	ceph-devel@vger.kernel.org
S:	Supported
W:	http://ceph.com/
T:	git git://github.com/ceph/ceph-client.git
T:	git https://github.com/ceph/ceph-client.git
F:	include/linux/ceph/
F:	include/linux/crush/
F:	net/ceph/
@@ -4821,7 +4821,7 @@ R: Jeff Layton <jlayton@kernel.org>
L:	ceph-devel@vger.kernel.org
S:	Supported
W:	http://ceph.com/
T:	git git://github.com/ceph/ceph-client.git
T:	git https://github.com/ceph/ceph-client.git
F:	Documentation/filesystems/ceph.rst
F:	fs/ceph/
@@ -11035,6 +11035,7 @@ KCONFIG
M:	Masahiro Yamada <masahiroy@kernel.org>
L:	linux-kbuild@vger.kernel.org
S:	Maintained
Q:	https://patchwork.kernel.org/project/linux-kbuild/list/
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git kconfig
F:	Documentation/kbuild/kconfig*
F:	scripts/Kconfig.include
@@ -11092,10 +11093,12 @@ F: fs/autofs/
KERNEL BUILD + files below scripts/ (unless maintained elsewhere)
M:	Masahiro Yamada <masahiroy@kernel.org>
M:	Michal Marek <michal.lkml@markovi.net>
R:	Nathan Chancellor <nathan@kernel.org>
R:	Nick Desaulniers <ndesaulniers@google.com>
R:	Nicolas Schier <nicolas@fjasle.eu>
L:	linux-kbuild@vger.kernel.org
S:	Maintained
Q:	https://patchwork.kernel.org/project/linux-kbuild/list/
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
F:	Documentation/kbuild/
F:	Makefile
@@ -13625,6 +13628,12 @@ S: Supported
F:	drivers/misc/atmel-ssc.c
F:	include/linux/atmel-ssc.h
MICROCHIP SOC DRIVERS
M:	Conor Dooley <conor@kernel.org>
S:	Supported
T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
F:	drivers/soc/microchip/
MICROCHIP USB251XB DRIVER
M:	Richard Leitner <richard.leitner@skidata.com>
L:	linux-usb@vger.kernel.org
@@ -17222,7 +17231,7 @@ R: Dongsheng Yang <dongsheng.yang@easystack.cn>
L:	ceph-devel@vger.kernel.org
S:	Supported
W:	http://ceph.com/
T:	git git://github.com/ceph/ceph-client.git
T:	git https://github.com/ceph/ceph-client.git
F:	Documentation/ABI/testing/sysfs-bus-rbd
F:	drivers/block/rbd.c
F:	drivers/block/rbd_types.h
@@ -17723,7 +17732,7 @@ F: arch/riscv/
N:	riscv
K:	riscv
RISC-V/MICROCHIP POLARFIRE SOC SUPPORT
RISC-V MICROCHIP FPGA SUPPORT
M:	Conor Dooley <conor.dooley@microchip.com>
M:	Daire McNamara <daire.mcnamara@microchip.com>
L:	linux-riscv@lists.infradead.org
@@ -17741,17 +17750,26 @@ F: Documentation/devicetree/bindings/usb/microchip,mpfs-musb.yaml
F:	arch/riscv/boot/dts/microchip/
F:	drivers/char/hw_random/mpfs-rng.c
F:	drivers/clk/microchip/clk-mpfs.c
F:	drivers/i2c/busses/i2c-microchip-core.c
F:	drivers/i2c/busses/i2c-microchip-corei2c.c
F:	drivers/mailbox/mailbox-mpfs.c
F:	drivers/pci/controller/pcie-microchip-host.c
F:	drivers/reset/reset-mpfs.c
F:	drivers/rtc/rtc-mpfs.c
F:	drivers/soc/microchip/
F:	drivers/soc/microchip/mpfs-sys-controller.c
F:	drivers/spi/spi-microchip-core-qspi.c
F:	drivers/spi/spi-microchip-core.c
F:	drivers/usb/musb/mpfs.c
F:	include/soc/microchip/mpfs.h
RISC-V MISC SOC SUPPORT
M:	Conor Dooley <conor@kernel.org>
L:	linux-riscv@lists.infradead.org
S:	Maintained
Q:	https://patchwork.kernel.org/project/linux-riscv/list/
T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
F:	Documentation/devicetree/bindings/riscv/
F:	arch/riscv/boot/dts/
RNBD BLOCK DRIVERS
M:	Md. Haris Iqbal <haris.iqbal@ionos.com>
M:	Jack Wang <jinpu.wang@ionos.com>
@@ -18778,7 +18796,6 @@ M: Palmer Dabbelt <palmer@dabbelt.com>
M:	Paul Walmsley <paul.walmsley@sifive.com>
L:	linux-riscv@lists.infradead.org
S:	Supported
T:	git https://github.com/sifive/riscv-linux.git
N:	sifive
K:	[^@]sifive
@@ -18797,6 +18814,13 @@ S: Maintained
F:	Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
F:	drivers/dma/sf-pdma/
SIFIVE SOC DRIVERS
M:	Conor Dooley <conor@kernel.org>
L:	linux-riscv@lists.infradead.org
S:	Maintained
T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
F:	drivers/soc/sifive/
SILEAD TOUCHSCREEN DRIVER
M:	Hans de Goede <hdegoede@redhat.com>
L:	linux-input@vger.kernel.org
@@ -19598,6 +19622,11 @@ M: Ion Badulescu <ionut@badula.org>
S:	Odd Fixes
F:	drivers/net/ethernet/adaptec/starfire*
STARFIVE DEVICETREES
M:	Emil Renner Berthing <kernel@esmil.dk>
S:	Maintained
F:	arch/riscv/boot/dts/starfive/
STARFIVE JH7100 CLOCK DRIVERS
M:	Emil Renner Berthing <kernel@esmil.dk>
S:	Maintained
Loading