summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2022-08-08 08:27:32 +0300
committerMark Brown <broonie@kernel.org>2022-08-15 03:19:55 +0300
commit047a05366f4bb2e32eabbd3c8990d1d91ab87c89 (patch)
treeaf28b011a802231979a5d65b73cf0da870cb6a7a /include/sound
parent955927873d82c5127e31e618703d804033a93e4f (diff)
downloadlinux-047a05366f4bb2e32eabbd3c8990d1d91ab87c89.tar.xz
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>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/simple_card_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h
index ab55f40896e0..a0b827f0c2f6 100644
--- a/include/sound/simple_card_utils.h
+++ b/include/sound/simple_card_utils.h
@@ -39,6 +39,7 @@ struct asoc_simple_dai {
struct asoc_simple_data {
u32 convert_rate;
u32 convert_channels;
+ const char *convert_sample_format;
};
struct asoc_simple_jack {