OSDN Git Service

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