soundwire: intel: add missing \n in dev_err()
We fixed a lot of warnings in 2019 but the magic of copy-paste keeps adding new ones... Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20210323005855.20890-2-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
bb877bebae
commit
4e3ea93e13
|
@ -997,7 +997,7 @@ static int intel_prepare(struct snd_pcm_substream *substream,
|
||||||
|
|
||||||
dma = snd_soc_dai_get_dma_data(dai, substream);
|
dma = snd_soc_dai_get_dma_data(dai, substream);
|
||||||
if (!dma) {
|
if (!dma) {
|
||||||
dev_err(dai->dev, "failed to get dma data in %s",
|
dev_err(dai->dev, "failed to get dma data in %s\n",
|
||||||
__func__);
|
__func__);
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
@ -1061,7 +1061,7 @@ intel_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai)
|
||||||
|
|
||||||
ret = intel_free_stream(sdw, substream, dai, sdw->instance);
|
ret = intel_free_stream(sdw, substream, dai, sdw->instance);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_err(dai->dev, "intel_free_stream: failed %d", ret);
|
dev_err(dai->dev, "intel_free_stream: failed %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1634,7 +1634,7 @@ static int __maybe_unused intel_suspend(struct device *dev)
|
||||||
|
|
||||||
ret = intel_link_power_down(sdw);
|
ret = intel_link_power_down(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "Link power down failed: %d", ret);
|
dev_err(dev, "Link power down failed: %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1669,7 +1669,7 @@ static int __maybe_unused intel_suspend_runtime(struct device *dev)
|
||||||
|
|
||||||
ret = intel_link_power_down(sdw);
|
ret = intel_link_power_down(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "Link power down failed: %d", ret);
|
dev_err(dev, "Link power down failed: %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1693,7 +1693,7 @@ static int __maybe_unused intel_suspend_runtime(struct device *dev)
|
||||||
|
|
||||||
ret = intel_link_power_down(sdw);
|
ret = intel_link_power_down(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "Link power down failed: %d", ret);
|
dev_err(dev, "Link power down failed: %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1742,7 +1742,7 @@ static int __maybe_unused intel_resume(struct device *dev)
|
||||||
|
|
||||||
ret = intel_init(sdw);
|
ret = intel_init(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "%s failed: %d", __func__, ret);
|
dev_err(dev, "%s failed: %d\n", __func__, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1826,7 +1826,7 @@ static int __maybe_unused intel_resume_runtime(struct device *dev)
|
||||||
if (clock_stop_quirks & SDW_INTEL_CLK_STOP_TEARDOWN) {
|
if (clock_stop_quirks & SDW_INTEL_CLK_STOP_TEARDOWN) {
|
||||||
ret = intel_init(sdw);
|
ret = intel_init(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "%s failed: %d", __func__, ret);
|
dev_err(dev, "%s failed: %d\n", __func__, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1871,7 +1871,7 @@ static int __maybe_unused intel_resume_runtime(struct device *dev)
|
||||||
} else if (clock_stop_quirks & SDW_INTEL_CLK_STOP_BUS_RESET) {
|
} else if (clock_stop_quirks & SDW_INTEL_CLK_STOP_BUS_RESET) {
|
||||||
ret = intel_init(sdw);
|
ret = intel_init(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "%s failed: %d", __func__, ret);
|
dev_err(dev, "%s failed: %d\n", __func__, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1949,7 +1949,7 @@ static int __maybe_unused intel_resume_runtime(struct device *dev)
|
||||||
|
|
||||||
ret = intel_init(sdw);
|
ret = intel_init(sdw);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "%s failed: %d", __func__, ret);
|
dev_err(dev, "%s failed: %d\n", __func__, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue