linux_dsm_epyc7002/sound/soc/intel
Jordy Ubink fcce38d85c
ASoC: Intel: bytcr_rt5651: Remove unnecessary string buffers and snprintf calls
The snprintf calls filling byt_rt56*_codec_aif_name/byt_rt56*_cpu_dai_name
always fill them with the same string ("rt56*-aif2" resp. ssp0-port").
So instead of keeping these buffers around and making codecs->dai_name /
cpus->dai_name point to them, simply update the *->dai_name pointers to
directly point to a string constant containing the desired string.

Signed-off-by: Jordy Ubink <jordyubink@hotmail.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200115164619.101705-4-hdegoede@redhat.com
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-17 15:42:01 +00:00
..
atom ASoC: intel: atom: Use managed buffer allocation 2019-12-11 16:43:32 +00:00
baytrail ASoC: intel: baytrail: Use managed buffer allocation 2019-12-11 16:43:33 +00:00
boards ASoC: Intel: bytcr_rt5651: Remove unnecessary string buffers and snprintf calls 2020-01-17 15:42:01 +00:00
common ASoC: Intel: common: add match tables for TGL w/ SoundWire 2020-01-13 15:01:24 +00:00
haswell ASoC: intel: haswell: Use managed buffer allocation 2019-12-11 16:43:33 +00:00
skylake ASoC: intel: skylake: Remove superfluous bus ops 2019-12-17 12:34:44 +00:00
Kconfig ASoC: Updates for v5.5 2019-11-07 14:12:30 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00