V4L/DVB (9771): tuner-xc2028: fix a small warning
/home/mauro/v4l-dvb/v4l/tuner-xc2028.c: In function 'xc2028_sleep': /home/mauro/v4l-dvb/v4l/tuner-xc2028.c:1111: warning: 'return' with no value, in function returning non-void Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
eb6c96345d
commit
10f201af1b
@ -1104,7 +1104,7 @@ static int xc2028_sleep(struct dvb_frontend *fe)
|
||||
|
||||
/* Avoid firmware reload on slow devices */
|
||||
if (no_poweroff)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
tuner_dbg("Putting xc2028/3028 into poweroff mode.\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user