ASoC: simple-card-utils: Fixup DAI sample format
authorSameer Pujar <spujar@nvidia.com>
Mon, 8 Aug 2022 05:27:32 +0000 (10:57 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 00:19:55 +0000 (01:19 +0100)
commit047a05366f4bb2e32eabbd3c8990d1d91ab87c89
treeaf28b011a802231979a5d65b73cf0da870cb6a7a
parent955927873d82c5127e31e618703d804033a93e4f
ASoC: simple-card-utils: Fixup DAI sample format

Parse "convert-sample-format" DT binding and fixup the sample format
as applicable. This is similar to the existing "convert-channels" and
"convert-rate" properties for channels and rate fixup respectively.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/1659936452-2254-4-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/simple-card-utils.c