All of lore.kernel.org
 help / color / mirror / Atom feed
* DVB Update [PATCH 28/31] fix wrong field usage
@ 2008-09-04 20:27 Manu Abraham
  0 siblings, 0 replies; only message in thread
From: Manu Abraham @ 2008-09-04 20:27 UTC (permalink / raw)
  To: linux-kernel, v4l-dvb-maintainer, akpm

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

>From 983684e316e3450f290588e55c299af6134a73d9 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@linuxtv.org>
Date: Thu, 4 Sep 2008 14:53:34 +0200
Subject: [PATCH] DVB fix using a wrong field

A wrong field was used, although not a routine that we are
using after the API update.

From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>

 dvb_frontend.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[-- Attachment #2: 28.patch --]
[-- Type: text/x-patch, Size: 960 bytes --]

>From 983684e316e3450f290588e55c299af6134a73d9 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@linuxtv.org>
Date: Thu, 4 Sep 2008 14:53:34 +0200
Subject: [PATCH] DVB fix using a wrong field

A wrong field was used, although not a routine that we are
using after the API update.

From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>

diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 70b6ca0..42ed894 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -623,7 +623,7 @@ static int dvbfe_sanity_check(struct dvb_frontend *fe)
 	    (fepriv->fe_params.frequency > fepriv->fe_info.frequency_max))
 		return -EINVAL;
 
-	switch (fepriv->fe_params.delivery) {
+	switch (fepriv->delsys) {
 	case DVBFE_DELSYS_DVBS:
 		if (!(fepriv->fe_params.delsys.dvbs.modulation &
 		      fepriv->fe_info.delsys.dvbs.modulation))


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

only message in thread, other threads:[~2008-09-04 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 20:27 DVB Update [PATCH 28/31] fix wrong field usage Manu Abraham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.