zoran: Fix &&/|| typo
PATCH 1/1 zoran: Fix &&/|| typo
Fix &&/|| typo
drivers/media/video/zoran/zoran_card.c +1 -1
@@ -1022,7 +1022,7 @@ zr36057_init (struct zoran *zr) zr->vbuf_bytesperline =0 ;/* Avoid nonsense settings from user for default input/norm */ -if (default_norm <0 && default_norm >2 ) +if (default_norm <0 || default_norm >2 ) default_norm =0 ;if (default_norm ==0 ) { zr->norm =V4L2_STD_PAL ;
Hello, Roel
Quoted 7 lines · Roel Kluin
Fix &&/|| typo
drivers/media/video/zoran/zoran_card.c +0
-0
drivers/media/video/zoran/zoran_card.c zr36057_init (struct zoran *zr) · line 1028
Quoted 8 lines
drivers/media/video/zoran/zoran_card.c +1
-1@@ -1022,7 +1022,7 @@ zr36057_init (struct zoran *zr) zr->vbuf_bytesperline = 0; /* Avoid nonsense settings from user for default input/norm */ - if (default_norm < 0 && default_norm > 2) + if (default_norm < 0 || default_norm > 2) default_norm = 0; if (default_norm == 0) { zr->norm = V4L2_STD_PAL;
Please, remember that all patches that you send need 'Signed-off-by' field. And i'm out of touch with events, but probably it's better to make description more dilated/patulous (i'm not sure here).
Signature · 1 line
Best regards, Klimov Alexey