diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c b/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c index 97350b048b8d..29d50597c88a 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c +++ b/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | |||
@@ -123,7 +123,7 @@ static void set_input(struct pvr2_v4l_cx2584x *ctxt) | |||
123 | memset(&route,0,sizeof(route)); | 123 | memset(&route,0,sizeof(route)); |
124 | 124 | ||
125 | if ((sid < ARRAY_SIZE(routing_schemes)) && | 125 | if ((sid < ARRAY_SIZE(routing_schemes)) && |
126 | ((sp = routing_schemes + sid) != 0) && | 126 | ((sp = routing_schemes + sid) != NULL) && |
127 | (hdw->input_val >= 0) && | 127 | (hdw->input_val >= 0) && |
128 | (hdw->input_val < sp->cnt)) { | 128 | (hdw->input_val < sp->cnt)) { |
129 | vid_input = sp->def[hdw->input_val].vid; | 129 | vid_input = sp->def[hdw->input_val].vid; |