diff options
Diffstat (limited to 'sound/soc/soc-compress.c')
-rw-r--r-- | sound/soc/soc-compress.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 10f7f1da2aca..f96fb96b2678 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c | |||
@@ -37,7 +37,8 @@ static int soc_compr_open(struct snd_compr_stream *cstream) | |||
37 | if (platform->driver->compr_ops && platform->driver->compr_ops->open) { | 37 | if (platform->driver->compr_ops && platform->driver->compr_ops->open) { |
38 | ret = platform->driver->compr_ops->open(cstream); | 38 | ret = platform->driver->compr_ops->open(cstream); |
39 | if (ret < 0) { | 39 | if (ret < 0) { |
40 | pr_err("compress asoc: can't open platform %s\n", platform->name); | 40 | pr_err("compress asoc: can't open platform %s\n", |
41 | platform->component.name); | ||
41 | goto out; | 42 | goto out; |
42 | } | 43 | } |
43 | } | 44 | } |
@@ -84,7 +85,8 @@ static int soc_compr_open_fe(struct snd_compr_stream *cstream) | |||
84 | if (platform->driver->compr_ops && platform->driver->compr_ops->open) { | 85 | if (platform->driver->compr_ops && platform->driver->compr_ops->open) { |
85 | ret = platform->driver->compr_ops->open(cstream); | 86 | ret = platform->driver->compr_ops->open(cstream); |
86 | if (ret < 0) { | 87 | if (ret < 0) { |
87 | pr_err("compress asoc: can't open platform %s\n", platform->name); | 88 | pr_err("compress asoc: can't open platform %s\n", |
89 | platform->component.name); | ||
88 | goto out; | 90 | goto out; |
89 | } | 91 | } |
90 | } | 92 | } |
@@ -680,7 +682,7 @@ int soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) | |||
680 | ret = snd_compress_new(rtd->card->snd_card, num, direction, compr); | 682 | ret = snd_compress_new(rtd->card->snd_card, num, direction, compr); |
681 | if (ret < 0) { | 683 | if (ret < 0) { |
682 | pr_err("compress asoc: can't create compress for codec %s\n", | 684 | pr_err("compress asoc: can't create compress for codec %s\n", |
683 | codec->name); | 685 | codec->component.name); |
684 | goto compr_err; | 686 | goto compr_err; |
685 | } | 687 | } |
686 | 688 | ||