public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [trivial patch] dsb radio fix
@ 2002-10-29 17:06 Gerd Knorr
  0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2002-10-29 17:06 UTC (permalink / raw)
  To: Linus Torvalds, Kernel List

  Hi,

This patch fixes a stupid cut+paste bug in dsbr100 ...

  Gerd

==============================[ cut here ]==============================
--- linux-2.5.44/drivers/usb/media/dsbr100.c	Wed Oct 23 18:53:55 2002
+++ linux/drivers/usb/media/dsbr100.c	Wed Oct 23 18:54:50 2002
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 17:06 [trivial patch] dsb radio fix Gerd Knorr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox