media: si2168: Announce frontend creation failure
authorBrad Love <brad@nextdimension.cc>
Fri, 12 Jan 2018 16:19:40 +0000 (11:19 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 12:26:11 +0000 (07:26 -0500)
The driver outputs on success, but is silent on failure. Give
one message that probe failed.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/si2168.c

index 429c03aaa90227691cd515311c82d637e5eadb78..c1a638c8565d8e311798c310aafe549edeeac8ce 100644 (file)
@@ -810,7 +810,7 @@ static int si2168_probe(struct i2c_client *client,
 err_kfree:
        kfree(dev);
 err:
-       dev_dbg(&client->dev, "failed=%d\n", ret);
+       dev_warn(&client->dev, "probe failed = %d\n", ret);
        return ret;
 }