[patch] dsb usb radio fix

Gerd Knorr (kraxel@bytesex.org)
Thu, 7 Nov 2002 11:15:22 +0100


Hi,

This patch fixes stupid cut+paste bug in dsbr100.

please apply,

Gerd

--- linux-2.5.46/drivers/usb/media/dsbr100.c 2002-11-07 09:19:26.000000000 +0100
+++ linux/drivers/usb/media/dsbr100.c 2002-11-07 09:22:16.000000000 +0100
@@ -265,7 +265,8 @@
case VIDIOCSFREQ:
{
int *freq = arg;
- *freq = radio->curfreq;
+
+ radio->curfreq = *freq;
if (dsbr100_setfreq(radio, radio->curfreq)==-1)
warn("set frequency failed");
return 0;

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/