From patchwork Thu May 6 12:04:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Audirac X-Patchwork-Id: 97340 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o46C50o2015383 for ; Thu, 6 May 2010 12:05:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757798Ab0EFME6 (ORCPT ); Thu, 6 May 2010 08:04:58 -0400 Received: from 25.mail-out.ovh.net ([91.121.27.228]:55055 "HELO 25.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752127Ab0EFME6 (ORCPT ); Thu, 6 May 2010 08:04:58 -0400 Received: (qmail 29537 invoked by uid 503); 6 May 2010 12:16:49 -0000 Received: from b9.ovh.net (HELO mail383.ha.ovh.net) (213.186.33.59) by 25.mail-out.ovh.net with SMTP; 6 May 2010 12:16:49 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 6 May 2010 12:04:56 -0000 Received: from ns0.ovh.net (HELO webmail.ovh.net) (213.186.33.20) by ns0.ovh.net with SMTP; 6 May 2010 12:04:56 -0000 Received: from 57.73.25.165 (SquirrelMail authenticated user guillaume.audirac@webag.fr) by webmail.ovh.net with HTTP; Thu, 6 May 2010 07:04:56 -0500 (GMT+5) Message-ID: <1bc22666c5df5b6abebb23a35b3e666b.squirrel@webmail.ovh.net> Date: Thu, 6 May 2010 07:04:56 -0500 (GMT+5) Subject: [PATCH] tda10048: fix bitmask for the transmission mode From: "Guillaume Audirac" To: linux-media@vger.kernel.org Reply-To: guillaume.audirac@webag.fr User-Agent: SquirrelMail/1.4.16 MIME-Version: 1.0 X-Priority: 3 (Normal) Importance: Normal X-Webmail-UserID: guillaume.audirac@webag.fr X-Originating-IP: 57.73.25.165 X-Ovh-Tracer-Id: 12711409950367160375 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 06 May 2010 12:05:00 +0000 (UTC) diff --git a/drivers/media/dvb/frontends/tda10048.c b/drivers/media/dvb/frontends/tda10048.c index 9006107..9a0ba30 100644 --- a/drivers/media/dvb/frontends/tda10048.c +++ b/drivers/media/dvb/frontends/tda10048.c @@ -689,7 +689,7 @@ static int tda10048_get_tps(struct tda10048_state *state, p->guard_interval = GUARD_INTERVAL_1_4; break; } - switch (val & 0x02) { + switch (val & 0x03) { case 0: p->transmission_mode = TRANSMISSION_MODE_2K; break;