Skip to content

Commit

Permalink
ALSA: hdac: add missing \n to end of dev_err messages
Browse files Browse the repository at this point in the history
Trival fix, some dev_err messages are missing a \n, so add it.

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Colin Ian King authored and tiwai committed Sep 16, 2016
1 parent 67956ed commit 3617631
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sound/hda/ext/hdac_ext_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 3617631

Please sign in to comment.