From patchwork Fri Nov 5 14:25:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Jones X-Patchwork-Id: 304122 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA5EPm88021098 for ; Fri, 5 Nov 2010 14:25:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752613Ab0KEOZr (ORCPT ); Fri, 5 Nov 2010 10:25:47 -0400 Received: from mail1.matrix-vision.com ([78.47.19.71]:46003 "EHLO mail1.matrix-vision.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752546Ab0KEOZq (ORCPT ); Fri, 5 Nov 2010 10:25:46 -0400 Received: from mail1.matrix-vision.com (localhost [127.0.0.1]) by mail1.matrix-vision.com (Postfix) with ESMTP id 66C6D7245E; Fri, 5 Nov 2010 15:25:42 +0100 (CET) Received: from erinome (g2.matrix-vision.com [80.152.136.245]) by mail1.matrix-vision.com (Postfix) with ESMTPA id 2991D7230D; Fri, 5 Nov 2010 15:25:42 +0100 (CET) Received: from erinome (localhost [127.0.0.1]) by erinome (Postfix) with ESMTP id 2E6F76F8A; Fri, 5 Nov 2010 15:25:41 +0100 (CET) Received: by erinome (Postfix, from userid 108) id 1FB646F9C; Fri, 5 Nov 2010 15:25:41 +0100 (CET) Received: from [192.168.65.46] (host65-46.intern.matrix-vision.de [192.168.65.46]) by erinome (Postfix) with ESMTPA id 090AE6F8A; Fri, 5 Nov 2010 15:25:41 +0100 (CET) Message-ID: <4CD413E4.20401@matrix-vision.de> Date: Fri, 05 Nov 2010 15:25:40 +0100 From: Michael Jones User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: Bastian Hecht CC: Laurent Pinchart , Sakari Ailus , Linux Media Mailing List Subject: Re: OMAP3530 ISP irqs disabled References: <4CD161B3.9000709@maxwell.research.nokia.com> <201011040434.53836.laurent.pinchart@ideasonboard.com> In-Reply-To: X-MV-Disclaimer: true (erinome) X-AV-Checked: ClamAV using ClamSMTP (erinome) X-AV-Checked: ClamAV using ClamSMTP (mail1) 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 (demeter1.kernel.org [140.211.167.41]); Fri, 05 Nov 2010 14:25:49 +0000 (UTC) --- a/drivers/media/video/isp/ispccdc.c +++ b/drivers/media/video/isp/ispccdc.c @@ -1477,7 +1477,7 @@ static void ispccdc_vd1_isr(struct isp_ccdc_device *ccdc) spin_lock_irqsave(&ccdc->lsc.req_lock, flags); /* We are about to stop CCDC and/without LSC */ - if ((ccdc->output & CCDC_OUTPUT_MEMORY) || + if ((ccdc->output & CCDC_OUTPUT_MEMORY) && (ccdc->state == ISP_PIPELINE_STREAM_SINGLESHOT)) ccdc->stopping = CCDC_STOP_REQUEST;