linux_dsm_epyc7002/sound/soc/intel
Damian van Soelen 791a0059e2
ASoC: Intel: cht_bsw_rt5645: Remove unnecessary string buffers and snprintf calls
The snprintf calls filling cht_rt5645_cpu_dai_name /
cht_rt5645_codec_aif_name always fill them with the same string
("ssp0-port" resp "rt5645-aif2") so instead of keeping these buffers
around and making cpus->dai_name / codecs->dai_name point to this,
simply update the *->dai_name pointers to directly point to a string
constant containing the desired string.

Signed-off-by: Damian van Soelen <dj.vsoelen@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200115164619.101705-5-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:04 +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: cht_bsw_rt5645: Remove unnecessary string buffers and snprintf calls 2020-01-17 15:42:04 +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