Commit 1635c694 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

ASoC: Intel: atom: add missing \n to end of dev_err/dev_dbg messages

Trival fix, some dev_err/deb_dbg messages are missing a \n, so add it.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ecd286a9
...@@ -166,7 +166,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -166,7 +166,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
rsrc = platform_get_resource(pdev, IORESOURCE_MEM, rsrc = platform_get_resource(pdev, IORESOURCE_MEM,
ctx->pdata->res_info->acpi_lpe_res_index); ctx->pdata->res_info->acpi_lpe_res_index);
if (!rsrc) { if (!rsrc) {
dev_err(ctx->dev, "Invalid SHIM base from IFWI"); dev_err(ctx->dev, "Invalid SHIM base from IFWI\n");
return -EIO; return -EIO;
} }
dev_info(ctx->dev, "LPE base: %#x size:%#x", (unsigned int) rsrc->start, dev_info(ctx->dev, "LPE base: %#x size:%#x", (unsigned int) rsrc->start,
...@@ -178,7 +178,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -178,7 +178,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
ctx->iram = devm_ioremap_nocache(ctx->dev, ctx->iram_base, ctx->iram = devm_ioremap_nocache(ctx->dev, ctx->iram_base,
ctx->pdata->res_info->iram_size); ctx->pdata->res_info->iram_size);
if (!ctx->iram) { if (!ctx->iram) {
dev_err(ctx->dev, "unable to map IRAM"); dev_err(ctx->dev, "unable to map IRAM\n");
return -EIO; return -EIO;
} }
...@@ -188,7 +188,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -188,7 +188,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
ctx->dram = devm_ioremap_nocache(ctx->dev, ctx->dram_base, ctx->dram = devm_ioremap_nocache(ctx->dev, ctx->dram_base,
ctx->pdata->res_info->dram_size); ctx->pdata->res_info->dram_size);
if (!ctx->dram) { if (!ctx->dram) {
dev_err(ctx->dev, "unable to map DRAM"); dev_err(ctx->dev, "unable to map DRAM\n");
return -EIO; return -EIO;
} }
...@@ -197,7 +197,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -197,7 +197,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
ctx->shim = devm_ioremap_nocache(ctx->dev, ctx->shim_phy_add, ctx->shim = devm_ioremap_nocache(ctx->dev, ctx->shim_phy_add,
ctx->pdata->res_info->shim_size); ctx->pdata->res_info->shim_size);
if (!ctx->shim) { if (!ctx->shim) {
dev_err(ctx->dev, "unable to map SHIM"); dev_err(ctx->dev, "unable to map SHIM\n");
return -EIO; return -EIO;
} }
...@@ -210,7 +210,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -210,7 +210,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
ctx->mailbox = devm_ioremap_nocache(ctx->dev, ctx->mailbox_add, ctx->mailbox = devm_ioremap_nocache(ctx->dev, ctx->mailbox_add,
ctx->pdata->res_info->mbox_size); ctx->pdata->res_info->mbox_size);
if (!ctx->mailbox) { if (!ctx->mailbox) {
dev_err(ctx->dev, "unable to map mailbox"); dev_err(ctx->dev, "unable to map mailbox\n");
return -EIO; return -EIO;
} }
...@@ -220,7 +220,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -220,7 +220,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
rsrc = platform_get_resource(pdev, IORESOURCE_MEM, rsrc = platform_get_resource(pdev, IORESOURCE_MEM,
ctx->pdata->res_info->acpi_ddr_index); ctx->pdata->res_info->acpi_ddr_index);
if (!rsrc) { if (!rsrc) {
dev_err(ctx->dev, "Invalid DDR base from IFWI"); dev_err(ctx->dev, "Invalid DDR base from IFWI\n");
return -EIO; return -EIO;
} }
ctx->ddr_base = rsrc->start; ctx->ddr_base = rsrc->start;
...@@ -229,7 +229,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx) ...@@ -229,7 +229,7 @@ static int sst_platform_get_resources(struct intel_sst_drv *ctx)
ctx->ddr = devm_ioremap_nocache(ctx->dev, ctx->ddr_base, ctx->ddr = devm_ioremap_nocache(ctx->dev, ctx->ddr_base,
resource_size(rsrc)); resource_size(rsrc));
if (!ctx->ddr) { if (!ctx->ddr) {
dev_err(ctx->dev, "unable to map DDR"); dev_err(ctx->dev, "unable to map DDR\n");
return -EIO; return -EIO;
} }
...@@ -296,7 +296,7 @@ static int sst_acpi_probe(struct platform_device *pdev) ...@@ -296,7 +296,7 @@ static int sst_acpi_probe(struct platform_device *pdev)
id = acpi_match_device(dev->driver->acpi_match_table, dev); id = acpi_match_device(dev->driver->acpi_match_table, dev);
if (!id) if (!id)
return -ENODEV; return -ENODEV;
dev_dbg(dev, "for %s", id->id); dev_dbg(dev, "for %s\n", id->id);
mach = (struct sst_acpi_mach *)id->driver_data; mach = (struct sst_acpi_mach *)id->driver_data;
mach = sst_acpi_find_machine(mach); mach = sst_acpi_find_machine(mach);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment