diff options
author | Brad Love <brad@nextdimension.cc> | 2018-01-12 11:19:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 07:25:55 -0500 |
commit | e7f4d7516aa3ed912946fdf3863be8d1489fd836 (patch) | |
tree | 3090f474f806c1e4c2b8835a14941287f591c464 | |
parent | 445877742ce302979fd92bcda1eb372bb708c003 (diff) | |
download | blackbird-op-linux-e7f4d7516aa3ed912946fdf3863be8d1489fd836.tar.gz blackbird-op-linux-e7f4d7516aa3ed912946fdf3863be8d1489fd836.zip |
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: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r-- | drivers/media/dvb-frontends/lgdt3306a.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c index 0ed64604d7af..5b1903358730 100644 --- a/drivers/media/dvb-frontends/lgdt3306a.c +++ b/drivers/media/dvb-frontends/lgdt3306a.c @@ -2249,6 +2249,8 @@ static int lgdt3306a_probe(struct i2c_client *client, *config->i2c_adapter = state->muxc->adapter[0]; *config->fe = fe; + dev_info(&client->dev, "LG Electronics LGDT3306A successfully identified\n"); + return 0; err_kfree: @@ -2256,7 +2258,7 @@ err_kfree: err_fe: kfree(config); fail: - dev_dbg(&client->dev, "failed=%d\n", ret); + dev_warn(&client->dev, "probe failed = %d\n", ret); return ret; } |