diff options
Diffstat (limited to 'drivers/media/video/gspca/t613.c')
-rw-r--r-- | drivers/media/video/gspca/t613.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c index 1d321c30d22f..55ef6a744427 100644 --- a/drivers/media/video/gspca/t613.c +++ b/drivers/media/video/gspca/t613.c | |||
@@ -938,7 +938,6 @@ static void sd_stopN(struct gspca_dev *gspca_dev) | |||
938 | } | 938 | } |
939 | 939 | ||
940 | static void sd_pkt_scan(struct gspca_dev *gspca_dev, | 940 | static void sd_pkt_scan(struct gspca_dev *gspca_dev, |
941 | struct gspca_frame *frame, /* target */ | ||
942 | u8 *data, /* isoc packet */ | 941 | u8 *data, /* isoc packet */ |
943 | int len) /* iso packet length */ | 942 | int len) /* iso packet length */ |
944 | { | 943 | { |
@@ -956,9 +955,9 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, | |||
956 | /* extra bytes....., could be processed too but would be | 955 | /* extra bytes....., could be processed too but would be |
957 | * a waste of time, right now leave the application and | 956 | * a waste of time, right now leave the application and |
958 | * libjpeg do it for ourserlves.. */ | 957 | * libjpeg do it for ourserlves.. */ |
959 | frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, | 958 | gspca_frame_add(gspca_dev, LAST_PACKET, |
960 | ffd9, 2); | 959 | ffd9, 2); |
961 | gspca_frame_add(gspca_dev, FIRST_PACKET, frame, data, len); | 960 | gspca_frame_add(gspca_dev, FIRST_PACKET, data, len); |
962 | return; | 961 | return; |
963 | } | 962 | } |
964 | 963 | ||
@@ -967,7 +966,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, | |||
967 | * other's do not include it... */ | 966 | * other's do not include it... */ |
968 | len -= 2; | 967 | len -= 2; |
969 | } | 968 | } |
970 | gspca_frame_add(gspca_dev, INTER_PACKET, frame, data, len); | 969 | gspca_frame_add(gspca_dev, INTER_PACKET, data, len); |
971 | } | 970 | } |
972 | 971 | ||
973 | static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val) | 972 | static int sd_setbrightness(struct gspca_dev *gspca_dev, __s32 val) |