From patchwork Mon Aug 10 07:48:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitri Belimov X-Patchwork-Id: 40354 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7A7mM85003607 for ; Mon, 10 Aug 2009 07:48:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751693AbZHJHsR (ORCPT ); Mon, 10 Aug 2009 03:48:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752524AbZHJHsR (ORCPT ); Mon, 10 Aug 2009 03:48:17 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:32270 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbZHJHsQ (ORCPT ); Mon, 10 Aug 2009 03:48:16 -0400 Received: by fg-out-1718.google.com with SMTP id e12so394005fga.17 for ; Mon, 10 Aug 2009 00:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type; bh=DpTD0Xy5uDAfYVEomdIek1XMlWfnspM3TdbctN6w1O4=; b=DTpVFMnLHzjJvSclND0nxSqyHBxtERebSGXoLCqusG8KosdOJGG2095reOileLPfcz QV7x2O8WA0FkegVRkAAjbazd8E5ddea3HxfsYwleSW//mZUbDT6gZRE8OkiGp63bUAmC OS4ocl4oWgVQgRdgvu6ATGFG2h/z/vjZKwEyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=h+9BR349tgw9UKuKCIqyqdGjXmfgkOl7944pNc75HEmf5m+DJOLB5AocDPU2ZhjeyP QJhtotvGEcT5ZA2IdinorZHEVXuXNLN9ZEBjKINgyAGJ+ZwxDeppLuDu0BiNMbjQ+Kik hOTvI5Eg8oPlMpf0oJXnsJaBUHwhTaQ4jFFCw= Received: by 10.86.31.17 with SMTP id e17mr2989445fge.47.1249890496725; Mon, 10 Aug 2009 00:48:16 -0700 (PDT) Received: from glory.loctelecom.ru (ns2.openhardware.ru [84.19.183.172]) by mx.google.com with ESMTPS id e20sm8397284fga.25.2009.08.10.00.48.15 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Aug 2009 00:48:16 -0700 (PDT) Date: Mon, 10 Aug 2009 17:48:16 +1000 From: Dmitri Belimov To: linux-media@vger.kernel.org, video4linux-list@redhat.com Subject: [PATCH] Fix control AC-3 of the 6752HS Message-ID: <20090810174816.61e7a34e@glory.loctelecom.ru> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.16.1; i486-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi All Fix error for AC-3 control of the 6752HS MPEG-2 coder. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov With my best regards, Dmitry. diff -r e72c463783ab linux/drivers/media/video/saa7134/saa6752hs.c --- a/linux/drivers/media/video/saa7134/saa6752hs.c Sat Aug 08 03:28:41 2009 -0300 +++ b/linux/drivers/media/video/saa7134/saa6752hs.c Mon Aug 10 12:41:30 2009 +1000 @@ -475,7 +475,7 @@ if (set && new != V4L2_MPEG_AUDIO_ENCODING_LAYER_2 && (!has_ac3 || new != V4L2_MPEG_AUDIO_ENCODING_AC3)) return -ERANGE; - new = old; + params->au_encoding = new; break; case V4L2_CID_MPEG_AUDIO_L2_BITRATE: old = params->au_l2_bitrate; Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov