Commit e7f4d751 authored by Brad Love's avatar Brad Love Committed by Mauro Carvalho Chehab

media: lgdt3306a: Announce successful creation

The driver is near silent, this adds a simple announcement at the
end of probe after the chip has been detected and upgrades a debug
message to error if probe has failed.
Signed-off-by: default avatarBrad Love <brad@nextdimension.cc>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 44587774
...@@ -2249,6 +2249,8 @@ static int lgdt3306a_probe(struct i2c_client *client, ...@@ -2249,6 +2249,8 @@ static int lgdt3306a_probe(struct i2c_client *client,
*config->i2c_adapter = state->muxc->adapter[0]; *config->i2c_adapter = state->muxc->adapter[0];
*config->fe = fe; *config->fe = fe;
dev_info(&client->dev, "LG Electronics LGDT3306A successfully identified\n");
return 0; return 0;
err_kfree: err_kfree:
...@@ -2256,7 +2258,7 @@ static int lgdt3306a_probe(struct i2c_client *client, ...@@ -2256,7 +2258,7 @@ static int lgdt3306a_probe(struct i2c_client *client,
err_fe: err_fe:
kfree(config); kfree(config);
fail: fail:
dev_dbg(&client->dev, "failed=%d\n", ret); dev_warn(&client->dev, "probe failed = %d\n", ret);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment