]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: simple-card: Drop unnecessary "dai-tdm-slot-width-map" property presence check
authorRob Herring (Arm) <robh@kernel.org>
Thu, 9 Jan 2025 18:22:02 +0000 (12:22 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jan 2025 15:02:07 +0000 (15:02 +0000)
commitabea0cbfba5848d11b6364e82df4864fd0bfa683
treeab9c335441aa57ea55e04fb8e13554f67eedd8db
parent84eac6d478c00f8f9101f91716ea3866d2fc1e54
ASoC: simple-card: Drop unnecessary "dai-tdm-slot-width-map" property presence check

It doesn't matter whether "dai-tdm-slot-width-map" is not present or
there is some other issue parsing it in of_property_count_elems_of_size()
causing an error. Drop the presence check and rely on
of_property_count_elems_of_size() error return if not present.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20250109182202.3971965-2-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card-utils.c