public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Anssi Hannula <anssi.hannula@gmail.com>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] [multiproto patch] fix ATSC api conversion
Date: Fri, 23 May 2008 17:59:02 +0300	[thread overview]
Message-ID: <4836DBB6.5040006@gmail.com> (raw)

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

Hi!

The attached patch fixes ATSC conversion in olddrv_to_newapi.

-- 
Anssi Hannula

[-- Attachment #2: multiproto-fix-atsc-conversion.diff --]
[-- Type: text/x-patch, Size: 802 bytes --]

From: Anssi Hannula <anssi.hannula@gmail.com>

multiproto: fix ATSC conversion in olddrv_to_newapi

In olddrv_to_newapi() the ATSC modulation conversion used newmod_to_oldmod()
instead of the correct oldmod_to_newmod(). Fix it.

Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>

---

diff -r 46df93f7bcee -r 6fdfb2b22241 linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Sun Apr 13 17:52:40 2008 +0400
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Fri May 23 17:17:02 2008 +0300
@@ -562,7 +562,7 @@
 		}
 		break;
 	case FE_ATSC:
-		newmod_to_oldmod(atsc->modulation, &vsb->modulation);
+		oldmod_to_newmod(vsb->modulation, &atsc->modulation);
 		break;
 	default:
 		dprintk("%s: Unsupported delivery system %x\n", __func__, fe_type);

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

             reply	other threads:[~2008-05-23 14:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-23 14:59 Anssi Hannula [this message]
2008-07-04  6:32 ` [linux-dvb] [multiproto patch] fix ATSC api conversion Anssi Hannula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4836DBB6.5040006@gmail.com \
    --to=anssi.hannula@gmail.com \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox