ASoC: rt1316-sdw: Switch to new snd_sdw_params_to_config helper
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 23 Nov 2022 16:54:27 +0000 (16:54 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 28 Nov 2022 13:04:27 +0000 (13:04 +0000)
commit0725dd0461fc682e9c1bcf9f436e60160dba65a5
tree23009e9aa492379e4bff896abbcc9836d62fd57d
parent896c59edcdafc4e213761184294cbccf47126a23
ASoC: rt1316-sdw: Switch to new snd_sdw_params_to_config helper

The conversion from hw_params to SoundWire config is pretty
standard as such most of the conversion can be handled by the new
snd_sdw_params_to_config helper function.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221123165432.594972-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1316-sdw.c