soundwire: bandwidth_allocation: add missing \n in dev_err()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 23 Mar 2021 00:58:52 +0000 (08:58 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Mar 2021 06:49:53 +0000 (12:19 +0530)
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-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/generic_bandwidth_allocation.c

index 0bdef38..a9abb97 100644 (file)
@@ -406,14 +406,14 @@ int sdw_compute_params(struct sdw_bus *bus)
        /* Computes clock frequency, frame shape and frame frequency */
        ret = sdw_compute_bus_params(bus);
        if (ret < 0) {
-               dev_err(bus->dev, "Compute bus params failed: %d", ret);
+               dev_err(bus->dev, "Compute bus params failed: %d\n", ret);
                return ret;
        }
 
        /* Compute transport and port params */
        ret = sdw_compute_port_params(bus);
        if (ret < 0) {
-               dev_err(bus->dev, "Compute transport params failed: %d", ret);
+               dev_err(bus->dev, "Compute transport params failed: %d\n", ret);
                return ret;
        }