aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-11-03 16:28:39 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-04 15:18:13 -0500
commit45c3cbb18462b76848476da596b8c1647929ab1f (patch)
tree4014e63d322cc0eee61c2687c5701a5e0b902a6f
parent094f1ca516cd32ecda8b99821a316cb4e0f367cd (diff)
[media] si2168: do not print device is warm every-time when opened
It repeated "found a 'Silicon Labs Si2168' in warm state" everytime when device was opened. Message is aimed to point out firmware is downloaded, up and running. So print it only in case firmware download is performed. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/dvb-frontends/si2168.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c
index 1cd93be281ed..7bac74835d73 100644
--- a/drivers/media/dvb-frontends/si2168.c
+++ b/drivers/media/dvb-frontends/si2168.c
@@ -498,10 +498,9 @@ static int si2168_init(struct dvb_frontend *fe)
498 498
499 s->fw_loaded = true; 499 s->fw_loaded = true;
500 500
501warm:
502 dev_info(&s->client->dev, "found a '%s' in warm state\n", 501 dev_info(&s->client->dev, "found a '%s' in warm state\n",
503 si2168_ops.info.name); 502 si2168_ops.info.name);
504 503warm:
505 s->active = true; 504 s->active = true;
506 505
507 return 0; 506 return 0;