summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorCharles Keepax2015-03-25 12:22:35 +0100
committerMark Brown2015-03-25 16:26:35 +0100
commit46172b6c26667133b9945b916b6223cc87bbf10c (patch)
tree0b7b38f34c1202433450b9d0f26220c7eb74d0fc /include/sound/soc-dapm.h
parentASoC: dapm: add code to configure dai link parameters (diff)
downloadkernel-qcow2-linux-46172b6c26667133b9945b916b6223cc87bbf10c.tar.gz
kernel-qcow2-linux-46172b6c26667133b9945b916b6223cc87bbf10c.tar.xz
kernel-qcow2-linux-46172b6c26667133b9945b916b6223cc87bbf10c.zip
ASoC: dapm: Fix build warning
commit c66150824b8a ("ASoC: dapm: add code to configure dai link parameters") introduced the following build warning: sound/soc/soc-dapm.c: In function 'snd_soc_dapm_new_pcm': sound/soc/soc-dapm.c:3389:4: warning: passing argument 1 of 'snprintf' discards 'const' qualifier from pointer target type snprintf(w_param_text[count], len, This patch fixes this by switching to using devm_kasprintf. This also saves a couple of lines of code. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dapm.h')
0 files changed, 0 insertions, 0 deletions