summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-09-03 00:33:38 +0200
committerMark Brown <broonie@kernel.org>2014-09-03 00:33:38 +0200
commite65f6b1eb54036682786cb64d99c64d074ff4357 (patch)
tree70d5cc655365844e7b11aaf1ddae2138a2f183e9 /sound
parentLinux 3.17-rc3 (diff)
parentASoC: core: fix .info for SND_SOC_BYTES_TLV (diff)
downloadlinux-e65f6b1eb54036682786cb64d99c64d074ff4357.tar.xz
linux-e65f6b1eb54036682786cb64d99c64d074ff4357.zip
Merge remote-tracking branch 'asoc/fix/core' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index d4bfd4a9076f..889f4e3d35dc 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1325,7 +1325,7 @@ static int soc_post_component_init(struct snd_soc_pcm_runtime *rtd,
device_initialize(rtd->dev);
rtd->dev->parent = rtd->card->dev;
rtd->dev->release = rtd_release;
- rtd->dev->init_name = name;
+ dev_set_name(rtd->dev, "%s", name);
dev_set_drvdata(rtd->dev, rtd);
mutex_init(&rtd->pcm_mutex);
INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].be_clients);