]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
HSI: nokia-modem: Reduce missing driver message to debug level
authorSebastian Reichel <sre@kernel.org>
Mon, 4 May 2015 13:51:36 +0000 (15:51 +0200)
committerSebastian Reichel <sre@kernel.org>
Tue, 23 Jun 2015 00:40:03 +0000 (02:40 +0200)
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 <aaro.koskinen@iki.fi>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/hsi/clients/nokia-modem.c

index bbb19231fa82ed22267adf789f9f7fdb4de91d68..f50d110a78cb264c8ddf665f05d11187f05d4e3b 100644 (file)
@@ -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) {
@@ -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) {