Skip to content

Commit

Permalink
HSI: nokia-modem: Reduce missing driver message to debug level
Browse files Browse the repository at this point in the history
Reduce message priority from dev_err to dev_dbg for missing cmt-speech
or ssi-protocol drivers, since they will be probed again and it may
result in spamming the boot log.

Reported-by: Aaro Koskinen <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
  • Loading branch information
sre committed Jun 23, 2015
1 parent 5023a5c commit 505875e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/hsi/clients/nokia-modem.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static int nokia_modem_probe(struct device *dev)

err = device_attach(&modem->ssi_protocol->device);
if (err == 0) {
dev_err(dev, "Missing ssi-protocol driver\n");
dev_dbg(dev, "Missing ssi-protocol driver\n");
err = -EPROBE_DEFER;
goto error3;
} else if (err < 0) {
Expand All @@ -231,7 +231,7 @@ static int nokia_modem_probe(struct device *dev)

err = device_attach(&modem->cmt_speech->device);
if (err == 0) {
dev_err(dev, "Missing cmt-speech driver\n");
dev_dbg(dev, "Missing cmt-speech driver\n");
err = -EPROBE_DEFER;
goto error4;
} else if (err < 0) {
Expand Down

0 comments on commit 505875e

Please sign in to comment.