diff options
Diffstat (limited to 'drivers/usb/media')
-rw-r--r-- | drivers/usb/media/pwc/pwc-uncompress.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/usb/media/pwc/pwc-uncompress.c b/drivers/usb/media/pwc/pwc-uncompress.c index bc3b1635eab0..ef4204eab6c4 100644 --- a/drivers/usb/media/pwc/pwc-uncompress.c +++ b/drivers/usb/media/pwc/pwc-uncompress.c | |||
@@ -118,9 +118,9 @@ int pwc_decompress(struct pwc_device *pdev) | |||
118 | return -ENXIO; /* No such device or address: missing decompressor */ | 118 | return -ENXIO; /* No such device or address: missing decompressor */ |
119 | } | 119 | } |
120 | 120 | ||
121 | #if 0 | ||
121 | switch (pdev->type) | 122 | switch (pdev->type) |
122 | { | 123 | { |
123 | #if 0 | ||
124 | case 675: | 124 | case 675: |
125 | case 680: | 125 | case 680: |
126 | case 690: | 126 | case 690: |
@@ -128,18 +128,17 @@ int pwc_decompress(struct pwc_device *pdev) | |||
128 | case 730: | 128 | case 730: |
129 | case 740: | 129 | case 740: |
130 | case 750: | 130 | case 750: |
131 | pwc_dec23_decompress(&pdev->image, &pdev->view, &pdev->offset, | 131 | pwc_dec23_decompress(&pdev->image, &pdev->view, |
132 | yuv, image, | 132 | &pdev->offset, yuv, image, flags, |
133 | flags, | ||
134 | pdev->decompress_data, pdev->vbandlength); | 133 | pdev->decompress_data, pdev->vbandlength); |
135 | break; | 134 | break; |
136 | case 645: | 135 | case 645: |
137 | case 646: | 136 | case 646: |
138 | /* TODO & FIXME */ | 137 | /* TODO & FIXME */ |
139 | #endif | 138 | return -ENXIO; /* Missing decompressor */ |
140 | return -ENXIO; /* No such device or address: missing decompressor */ | ||
141 | break; | 139 | break; |
142 | } | 140 | } |
141 | #endif | ||
143 | } | 142 | } |
144 | return 0; | 143 | return 0; |
145 | } | 144 | } |