mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 18:44:44 +08:00
[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>
This commit is contained in:
parent
094f1ca516
commit
45c3cbb184
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user