From patchwork Tue Apr 28 09:46:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitri Belimov X-Patchwork-Id: 20541 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 n3SNkCdF000515 for ; Tue, 28 Apr 2009 23:46:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751757AbZD1XqK (ORCPT ); Tue, 28 Apr 2009 19:46:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751869AbZD1XqK (ORCPT ); Tue, 28 Apr 2009 19:46:10 -0400 Received: from ey-out-2122.google.com ([74.125.78.25]:28783 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751757AbZD1XqJ (ORCPT ); Tue, 28 Apr 2009 19:46:09 -0400 Received: by ey-out-2122.google.com with SMTP id 9so233745eyd.37 for ; Tue, 28 Apr 2009 16:46:06 -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=fpBWOX5ykV1DGp7KM+EqApeNh/1eAYXeAzB9fDDYkmA=; b=Jdu1HnrbonoJJy5ZTxhiPlUv01fXNbopz9A/QOS2WM3ZdtTCeCfyAAjQ49lAXyon6b m4kX9LUKqEOSIxOedXxgAoKXDH78PaSFonqDVtq4kabZuE7QhNM7HzJHjlIIMsTArfRF PM3QoA+DH82v5SHVpVZ2iAneBFytCERKYU1lU= 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=BWmNIU2+Sir3JDLxYgRauU3Hp/NT5HM8e+ZR3e8HOat6QQocbL/HdPCc4USsvGEeuq 3FVGRGPHaNEgmjZOJ/vV1pmLVK2auSscxFf9rjfTpISCgMBM0+ICIVW8a4Jlq5Yo0qzG LF7JzW16C0MXm/wcsafEwWUOQ6kZhSevM/y10= Received: by 10.210.17.2 with SMTP id 2mr3360302ebq.85.1240962366693; Tue, 28 Apr 2009 16:46:06 -0700 (PDT) Received: from glory.loctelecom.ru (ns2.openhardware.ru [84.19.183.172]) by mx.google.com with ESMTPS id 7sm743293eyg.47.2009.04.28.16.46.04 (version=SSLv3 cipher=RC4-MD5); Tue, 28 Apr 2009 16:46:05 -0700 (PDT) Date: Tue, 28 Apr 2009 19:46:15 +1000 From: Dmitri Belimov To: linux-media@vger.kernel.org, video4linux-list@redhat.com Subject: [PATCH 2/3 ] remove hw reset of MPEG encoder when lost/found seq. Message-ID: <20090428194615.64a302c2@glory.loctelecom.ru> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; 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 When we capture signal from composite input offen lost and found syncro sequence. In this case the MPEG coder hardware reset after each lost/found event. The image has a lot of artefactes. This patch remove hardware reset of MPEG encoder. This is patch from our customer. I checked this. Signed-off-by: Alexey Osipov With my best regards, Dmitry. diff -r b40d628f830d linux/drivers/media/video/saa7134/saa7134-empress.c --- a/linux/drivers/media/video/saa7134/saa7134-empress.c Fri Apr 24 01:46:41 2009 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-empress.c Tue Apr 28 05:26:09 2009 +1000 @@ -499,11 +499,8 @@ if (dev->nosignal) { dprintk("no video signal\n"); - ts_reset_encoder(dev); } else { dprintk("video signal acquired\n"); - if (atomic_read(&dev->empress_users)) - ts_init_encoder(dev); } } Signed-off-by: Alexey Osipov