]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] si2168: do not print device is warm every-time when opened
authorAntti Palosaari <crope@iki.fi>
Mon, 3 Nov 2014 21:28:39 +0000 (18:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 4 Nov 2014 20:18:13 +0000 (18:18 -0200)
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>
drivers/media/dvb-frontends/si2168.c

index 1cd93be281ed4d42194d15d2535bd86dd5eb638d..7bac74835d731be5d91d2da8cc94441958100e6e 100644 (file)
@@ -498,10 +498,9 @@ static int si2168_init(struct dvb_frontend *fe)
 
        s->fw_loaded = true;
 
-warm:
        dev_info(&s->client->dev, "found a '%s' in warm state\n",
                        si2168_ops.info.name);
-
+warm:
        s->active = true;
 
        return 0;