diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 07:35:57 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 07:35:57 -0500 |
commit | 2ca1a615835d9f4990f42102ab1f2ef434e7e89c (patch) | |
tree | 726cf3d5f29a6c66c44e4bd68e7ebed2fd83d059 /drivers/media/video/gspca/finepix.c | |
parent | e12f0102ac81d660c9f801d0a0e10ccf4537a9de (diff) | |
parent | 6a94cb73064c952255336cc57731904174b2c58f (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
arch/x86/kernel/io_apic.c
Diffstat (limited to 'drivers/media/video/gspca/finepix.c')
-rw-r--r-- | drivers/media/video/gspca/finepix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/finepix.c b/drivers/media/video/gspca/finepix.c index 607942fd7970..afc8b2dd307b 100644 --- a/drivers/media/video/gspca/finepix.c +++ b/drivers/media/video/gspca/finepix.c | |||
@@ -72,7 +72,7 @@ struct usb_fpix { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | /* These cameras only support 320x200. */ | 74 | /* These cameras only support 320x200. */ |
75 | static struct v4l2_pix_format fpix_mode[1] = { | 75 | static const struct v4l2_pix_format fpix_mode[1] = { |
76 | { 320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, | 76 | { 320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, |
77 | .bytesperline = 320, | 77 | .bytesperline = 320, |
78 | .sizeimage = 320 * 240 * 3 / 8 + 590, | 78 | .sizeimage = 320 * 240 * 3 / 8 + 590, |
@@ -314,9 +314,6 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
314 | int ret; | 314 | int ret; |
315 | int size_ret; | 315 | int size_ret; |
316 | 316 | ||
317 | /* Reset bulk in endpoint */ | ||
318 | usb_clear_halt(gspca_dev->dev, gspca_dev->cam.epaddr); | ||
319 | |||
320 | /* Init the device */ | 317 | /* Init the device */ |
321 | memset(gspca_dev->usb_buf, 0, 12); | 318 | memset(gspca_dev->usb_buf, 0, 12); |
322 | gspca_dev->usb_buf[0] = 0xc6; | 319 | gspca_dev->usb_buf[0] = 0xc6; |