ASoC: max98373-sdw: Switch to new snd_sdw_params_to_config helper
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 23 Nov 2022 16:54:25 +0000 (16:54 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 28 Nov 2022 13:04:25 +0000 (13:04 +0000)
commitd12f106177288a65b58b236304b6ceea4370f65d
tree8b7cddb4a4dfc6069b09e8e581fa531b80ff869d
parente45875168d19051ebf0fc4b091da6256f3ea3669
ASoC: max98373-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-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98373-sdw.c