diff options
author | Sameer Pujar <spujar@nvidia.com> | 2022-08-08 10:57:32 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-15 01:19:55 +0100 |
commit | 047a05366f4bb2e32eabbd3c8990d1d91ab87c89 (patch) | |
tree | af28b011a802231979a5d65b73cf0da870cb6a7a /include | |
parent | 955927873d82c5127e31e618703d804033a93e4f (diff) | |
download | linux-stable-047a05366f4bb2e32eabbd3c8990d1d91ab87c89.tar.gz linux-stable-047a05366f4bb2e32eabbd3c8990d1d91ab87c89.tar.bz2 linux-stable-047a05366f4bb2e32eabbd3c8990d1d91ab87c89.zip |
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')
-rw-r--r-- | include/sound/simple_card_utils.h | 1 |
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 { |