From patchwork Thu Feb 11 15:03:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Jacquet X-Patchwork-Id: 78725 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 o1BF3ji2015185 for ; Thu, 11 Feb 2010 15:03:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756191Ab0BKPDo (ORCPT ); Thu, 11 Feb 2010 10:03:44 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:35906 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756186Ab0BKPDn (ORCPT ); Thu, 11 Feb 2010 10:03:43 -0500 Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 314194C80C9; Thu, 11 Feb 2010 16:03:38 +0100 (CET) Received: from [192.168.0.2] (ns0.zerezo.com [82.240.185.160]) by smtp4-g21.free.fr (Postfix) with ESMTP id 383C94C8172; Thu, 11 Feb 2010 16:03:36 +0100 (CET) Message-ID: <4B741C47.1090905@zerezo.com> Date: Thu, 11 Feb 2010 16:03:35 +0100 From: Antoine Jacquet User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: thomas.schorpp@gmail.com CC: linux-media@vger.kernel.org Subject: Re: zr364xx: Aiptek DV8800 (neo): 08ca:2062: Fails on subsequent zr364xx_open() References: <4B73C792.3060907@gmail.com> In-Reply-To: <4B73C792.3060907@gmail.com> 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, 11 Feb 2010 15:03:45 +0000 (UTC) diff -r 77e731753c15 linux/drivers/media/video/zr364xx.c --- a/linux/drivers/media/video/zr364xx.c Thu Feb 11 12:02:16 2010 -0200 +++ b/linux/drivers/media/video/zr364xx.c Thu Feb 11 16:01:44 2010 +0100 @@ -1005,7 +1005,7 @@ /* Added some delay here, since opening/closing the camera quickly, * like Ekiga does during its startup, can crash the webcam */ - mdelay(100); + mdelay(200); cam->skip = 2; ret = 0; @@ -1310,7 +1310,7 @@ /* Added some delay here, since opening/closing the camera quickly, * like Ekiga does during its startup, can crash the webcam */ - mdelay(100); + mdelay(200); err = 0; out: @@ -1396,7 +1396,7 @@ /* Added some delay here, since opening/closing the camera quickly, * like Ekiga does during its startup, can crash the webcam */ - mdelay(100); + mdelay(200); err = 0; out: