Skip to content

Commit

Permalink
V4L/DVB (6637): xc2028: add missing break
Browse files Browse the repository at this point in the history
Add break to stop us from following the default failure path even upon success.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Chris Pascoe authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent aa501be commit b32f9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ static int load_firmware(struct dvb_frontend *fe, unsigned int type,
(*p) & 0x7f);
return -EINVAL;
}
break;
default:
tuner_info("Invalid RESET code %d\n",
size & 0x7f);
Expand Down

0 comments on commit b32f9fb

Please sign in to comment.