2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00

media: si2168: Announce frontend creation failure

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>
This commit is contained in:
Brad Love 2018-01-12 11:19:40 -05:00 committed by Mauro Carvalho Chehab
parent e7f4d7516a
commit 3061df060f

View 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;
}