ALSA: hdac: add missing \n to end of dev_err messages
authorColin Ian King <colin.king@canonical.com>
Fri, 16 Sep 2016 16:36:05 +0000 (17:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 16 Sep 2016 17:23:57 +0000 (19:23 +0200)
Trival fix, some dev_err messages are missing a \n, so add it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/ext/hdac_ext_stream.c

index 2441273adcef80b3eb7f741241ae08fafb030655..3be051ab55335746d57d46aa1445fb42f5eafce2 100644 (file)
@@ -424,7 +424,7 @@ void snd_hdac_ext_stream_spbcap_enable(struct hdac_ext_bus *ebus,
        struct hdac_bus *bus = &ebus->bus;
 
        if (!bus->spbcap) {
-               dev_err(bus->dev, "Address of SPB capability is NULL");
+               dev_err(bus->dev, "Address of SPB capability is NULL\n");
                return;
        }
 
@@ -453,7 +453,7 @@ int snd_hdac_ext_stream_set_spib(struct hdac_ext_bus *ebus,
        struct hdac_bus *bus = &ebus->bus;
 
        if (!bus->spbcap) {
-               dev_err(bus->dev, "Address of SPB capability is NULL");
+               dev_err(bus->dev, "Address of SPB capability is NULL\n");
                return -EINVAL;
        }
 
@@ -476,7 +476,7 @@ int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_ext_bus *ebus,
        struct hdac_bus *bus = &ebus->bus;
 
        if (!bus->spbcap) {
-               dev_err(bus->dev, "Address of SPB capability is NULL");
+               dev_err(bus->dev, "Address of SPB capability is NULL\n");
                return -EINVAL;
        }
 
@@ -516,7 +516,7 @@ void snd_hdac_ext_stream_drsm_enable(struct hdac_ext_bus *ebus,
        struct hdac_bus *bus = &ebus->bus;
 
        if (!bus->drsmcap) {
-               dev_err(bus->dev, "Address of DRSM capability is NULL");
+               dev_err(bus->dev, "Address of DRSM capability is NULL\n");
                return;
        }
 
@@ -545,7 +545,7 @@ int snd_hdac_ext_stream_set_dpibr(struct hdac_ext_bus *ebus,
        struct hdac_bus *bus = &ebus->bus;
 
        if (!bus->drsmcap) {
-               dev_err(bus->dev, "Address of DRSM capability is NULL");
+               dev_err(bus->dev, "Address of DRSM capability is NULL\n");
                return -EINVAL;
        }