Re: Linux v2.6.12-rc6

Jean Delvare
2005-06-07T18:46:34Z

Hi all,

> Alan Cox:
> remove non-cleanroom pwc driver compression

This one triggers a compilation warning. Proposed fix:

Signed-off-by: Jean Delvare <khali@linux-fr.org>

drivers/usb/media/pwc/pwc-uncompress.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.12-rc6.orig/drivers/usb/media/pwc/pwc-uncompress.c 2005-06-07 07:14:50.000000000 +0200
+++ linux-2.6.12-rc6/drivers/usb/media/pwc/pwc-uncompress.c 2005-06-07 20:35:12.000000000 +0200
@@ -120,7 +120,6 @@

switch (pdev->type)
{
-#if 0
case 675:
case 680:
case 690:
@@ -128,15 +127,16 @@
case 730:
case 740:
case 750:
+#if 0
pwc_dec23_decompress(&pdev->image, &pdev->view, &pdev->offset,
yuv, image,
flags,
pdev->decompress_data, pdev->vbandlength);
break;
+#endif
case 645:
case 646:
/* TODO & FIXME */
-#endif
return -ENXIO; /* No such device or address: missing decompressor */
break;
}

--
Jean Delvare