From patchwork Mon Mar 1 10:59:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Richter X-Patchwork-Id: 82905 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 o21Axcni013808 for ; Mon, 1 Mar 2010 10:59:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751071Ab0CAK7h (ORCPT ); Mon, 1 Mar 2010 05:59:37 -0500 Received: from einhorn.in-berlin.de ([192.109.42.8]:52875 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750998Ab0CAK7g (ORCPT ); Mon, 1 Mar 2010 05:59:36 -0500 X-Envelope-From: stefanr@s5r6.in-berlin.de Received: from stein ([83.221.231.7]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id o21AxMnN017252; Mon, 1 Mar 2010 11:59:22 +0100 Date: Mon, 1 Mar 2010 11:59:20 +0100 (CET) From: Stefan Richter Subject: [PATCH] firedtv: correct version number and current/next in CA_PMT To: Mauro Carvalho Chehab cc: linux-media@vger.kernel.org, Henrik Kurelid Message-ID: MIME-Version: 1.0 Content-Disposition: INLINE X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 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]); Mon, 01 Mar 2010 10:59:38 +0000 (UTC) Index: b/drivers/media/dvb/firewire/firedtv-avc.c =================================================================== --- a/drivers/media/dvb/firewire/firedtv-avc.c +++ b/drivers/media/dvb/firewire/firedtv-avc.c @@ -1096,7 +1096,7 @@ int avc_ca_pmt(struct firedtv *fdtv, cha c->operand[15] = msg[1]; /* Program number */ c->operand[16] = msg[2]; - c->operand[17] = 0x01; /* Version number=0 + current/next=1 */ + c->operand[17] = msg[3]; /* Version number and current/next */ c->operand[18] = 0x00; /* Section number=0 */ c->operand[19] = 0x00; /* Last section number=0 */ c->operand[20] = 0x1f; /* PCR_PID=1FFF */