Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161517
b: refs/heads/master
c: f19b56a
h: refs/heads/master
i:
  161515: 6abc2c3
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent 34c4a99 commit 6451882
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6bf1a997ed135df322e64b6f604227f6fdc54865
refs/heads/master: f19b56a8eb54d758bff94ae6a1b4f79335155238
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ void pvr2_msp3400_subdev_update(struct pvr2_hdw *hdw, struct v4l2_subdev *sd)
u32 input;

pvr2_trace(PVR2_TRACE_CHIPS, "subdev msp3400 v4l2 set_stereo");
sp = (sid < ARRAY_SIZE(routing_schemes)) ?
routing_schemes[sid] : NULL;

if ((sid < ARRAY_SIZE(routing_schemes)) &&
((sp = routing_schemes[sid]) != NULL) &&
if ((sp != NULL) &&
(hdw->input_val >= 0) &&
(hdw->input_val < sp->cnt)) {
input = sp->def[hdw->input_val];
Expand Down

0 comments on commit 6451882

Please sign in to comment.