diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-video-v4l.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c b/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c index 7c47345501b6..2433a3160041 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c +++ b/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | |||
@@ -81,7 +81,7 @@ static void set_input(struct pvr2_v4l_decoder *ctxt) | |||
81 | pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_input(%d)",hdw->input_val); | 81 | pvr2_trace(PVR2_TRACE_CHIPS,"i2c v4l2 set_input(%d)",hdw->input_val); |
82 | 82 | ||
83 | if ((sid < ARRAY_SIZE(routing_schemes)) && | 83 | if ((sid < ARRAY_SIZE(routing_schemes)) && |
84 | ((sp = routing_schemes + sid) != 0) && | 84 | ((sp = routing_schemes + sid) != NULL) && |
85 | (hdw->input_val >= 0) && | 85 | (hdw->input_val >= 0) && |
86 | (hdw->input_val < sp->cnt)) { | 86 | (hdw->input_val < sp->cnt)) { |
87 | route.input = sp->def[hdw->input_val]; | 87 | route.input = sp->def[hdw->input_val]; |