]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8573): gspca: Bad scan of frame in spca505/506/508.
authorJean-Francois Moine <moinejf@free.fr>
Wed, 30 Jul 2008 08:33:11 +0000 (05:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 6 Aug 2008 09:57:18 +0000 (06:57 -0300)
Bug introduced in changeset 6de914aaad86.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/gspca/spca505.c
drivers/media/video/gspca/spca506.c
drivers/media/video/gspca/spca508.c

index 3c2be80cbd65033c0ba507fc0068948a88c2ffbf..9cc178ee203bbb0fb46b5bdc9bfa355411d54796 100644 (file)
@@ -776,7 +776,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
        default:
                data += 1;
                len -= 1;
-               gspca_frame_add(gspca_dev, FIRST_PACKET, frame,
+               gspca_frame_add(gspca_dev, INTER_PACKET, frame,
                                data, len);
                break;
        }
index 6fe715c80ad2b0757f22b759fb7b22253a77c141..b4cf36a80df5278b5c386dd227ffe9b5846a71ad 100644 (file)
@@ -588,7 +588,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
        default:
                data += 1;
                len -= 1;
-               gspca_frame_add(gspca_dev, FIRST_PACKET, frame,
+               gspca_frame_add(gspca_dev, INTER_PACKET, frame,
                                data, len);
                break;
        }
index 6e213cf24cb33718281590b130282f8484da998d..a27686c8b8495932c2a3c2e23550bef64f9fc4ed 100644 (file)
@@ -1583,7 +1583,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
        default:
                data += 1;
                len -= 1;
-               gspca_frame_add(gspca_dev, FIRST_PACKET, frame,
+               gspca_frame_add(gspca_dev, INTER_PACKET, frame,
                                data, len);
                break;
        }