]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: simple-card-utils: remove both playback/capture_only check
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 28 May 2024 05:05:14 +0000 (05:05 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2024 14:59:33 +0000 (15:59 +0100)
commit45919c28134519080a85a5fb66d0f65955ef7572
tree9e75ad232717ec7f852cdf51ccca245c12531ae6
parent4ac0f06ca044e3ca938681a0eeb7d52a68b0b30f
ASoC: simple-card-utils: remove both playback/capture_only check

soc-pcm.c :: soc_get_playback_capture() will indicate error
if both playback_only / capture_only were true.

Thus, graph_util_parse_link_direction() which setup playback_only /
capture_only don't need to check it.
And, its return value is not used on existing driver. Let's remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://msgid.link/r/87a5kah6gm.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/simple-card-utils.c