]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: sun4i-codec: Add playback only flag to quirks
authorMarcus Cooper <codekipper@gmail.com>
Wed, 23 Oct 2024 07:57:00 +0000 (20:57 +1300)
committerMark Brown <broonie@kernel.org>
Thu, 24 Oct 2024 12:22:17 +0000 (13:22 +0100)
commit9fde21d6c5d1f75c2651442e5aae463545136aad
treec17c9ed825fac0a969376122fd904d3f153220ef
parent5836a9d2ca48bb7473bb10d061c03525d8f4f163
ASoC: sun4i-codec: Add playback only flag to quirks

Some devices only have the playback side of the codec implemented
so add a quirk to check for this. This flag is only required internally
within the codec driver, as the DAI is configured for playback only
(capture disabled) separately in the create_card() function for these
devices.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Ryan Walklin <ryan@testtoast.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Philippe Simons <simons.philippe@gmail.com>
Link: https://patch.msgid.link/20241023075917.186835-5-ryan@testtoast.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c