diff options
Diffstat (limited to 'sound/soc/fsl/eukrea-tlv320.c')
-rw-r--r-- | sound/soc/fsl/eukrea-tlv320.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sound/soc/fsl/eukrea-tlv320.c b/sound/soc/fsl/eukrea-tlv320.c index 5983740..9a4a0ca 100644 --- a/sound/soc/fsl/eukrea-tlv320.c +++ b/sound/soc/fsl/eukrea-tlv320.c @@ -42,8 +42,7 @@ static int eukrea_tlv320_hw_params(struct snd_pcm_substream *substream, SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM); if (ret) { - dev_err(cpu_dai->dev, - "Failed to set the cpu dai format.\n"); + pr_err("%s: failed set cpu dai format\n", __func__); return ret; } @@ -51,16 +50,14 @@ static int eukrea_tlv320_hw_params(struct snd_pcm_substream *substream, SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM); if (ret) { - dev_err(cpu_dai->dev, - "Failed to set the codec format.\n"); + pr_err("%s: failed set codec dai format\n", __func__); return ret; } ret = snd_soc_dai_set_sysclk(codec_dai, 0, CODEC_CLOCK, SND_SOC_CLOCK_OUT); if (ret) { - dev_err(cpu_dai->dev, - "Failed to set the codec sysclk.\n"); + pr_err("%s: failed setting codec sysclk\n", __func__); return ret; } snd_soc_dai_set_tdm_slot(cpu_dai, 0xffffffc, 0xffffffc, 2, 0); @@ -68,8 +65,7 @@ static int eukrea_tlv320_hw_params(struct snd_pcm_substream *substream, ret = snd_soc_dai_set_sysclk(cpu_dai, IMX_SSP_SYS_CLK, 0, SND_SOC_CLOCK_IN); if (ret) { - dev_err(cpu_dai->dev, - "Can't set the IMX_SSP_SYS_CLK CPU system clock.\n"); + pr_err("can't set CPU system clock IMX_SSP_SYS_CLK\n"); return ret; } @@ -159,8 +155,7 @@ static struct platform_driver eukrea_tlv320_driver = { .owner = THIS_MODULE, }, .probe = eukrea_tlv320_probe, - .remove = eukrea_tlv320_remove, -}; + .remove = eukrea_tlv320_remove,}; module_platform_driver(eukrea_tlv320_driver); |