From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796035512; b=vg6Q1D+ZmWB9ip8m+werOr/1Wa2bNsRPvzkv9Ir0AlPWg3Z4t9k3CCE51k23IRkRT0OH /wkC0jsojpT7BvDIITKw9wDfbRWEcvQZ7cXn6htRplWACf6Lm8sLTcQOTyfqiWxyU0t7V Qk1BrT4kzdRUvqcfR9ysPnKJL0mDqstjaaaK5aC1j/iUqhCaNhInyuifENpYfoMDb380K VEkxGnnqyDtJh4scUj+9QzGpNZ+NeZSReyJjy7uOnGY97yxUvE4SFsBjOHoduMmTFtcaR 6nHrU3pXtCO/QCf6tEqOuwK5GaMXAIz0pJOtNEzfsQSZ/cwdeyKPJWn+J0n6qepkJkQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796035512; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date: Organization:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To; bh=EArkhU4VUD7gPJVVSTeFRQ3hZ0Ki42vl58QNh2PZVaE=; b=HWOIlFfPvl0iKUmQ0L8a2ahqYvkkF2rqOAl8mGXnVBInRaKRT8EZJhJv60qAfKrtlh/O RAAtWJeaRfXfujELghZ+EXjuxg8ocvoMD+UeMK1lRFyoOvEkerzo3s1c4kgmaq+jkIhfx iadEwoiU98Qvuc97FYwDSU7/4194YeOJKGjlsZga7YUbpH5n3Yf1F/0GyhqTq34C87LlE U4GxufZqoC4VoLOkf61d7Ap6XLcBW++20gN1DDTfBbrOhiy17n1H8z00BNDhAGEN6WTcm oMOfLsHuXYaJAE1l8kuHIrNt9j0/IYz+81ft2MO2u65xkqp4FQhLCMQBNI2mIAmdyfA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=O+sL8Oij; arc=none smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CA5D606A32F; Mon, 30 Nov 2026 10:45:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3CA5D606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=O+sL8Oij DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796035513; x=1827571513; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=EArkhU4VUD7gPJVVSTeFRQ3hZ0Ki42vl58QNh2PZVaE=; b=O+sL8OijGCU5BvUQ93oUkkBxpIOz0M46uP/wOaSJzkvGSWjrnhP0zdkh hlaxhPoAQJ1obOSSICvae2HK8ptbzb9SHJDDZHhWd+Nad/+oJwamqc3hC hpF9CbmbaZYNCJNxT3RT291g6+Hxr6JbzHDbKuB+NxKSYIA03SxmDrzBz zmtDPNTt+8CPqfnFxADvTGjSawnbTI7HOroEBCHdnJPBBAvdCwfcHz0cZ yCRDkaIdsxK+8TLjIUr6YOjLQHpKYxCxnVayrd4bC4gFGhfsc363LKsO/ 5V7NJlYZwjpn2I6rF9Mb4RlqBRuj0BWi2d/J50WyBq9b7IFrc4N48oMW/ g==; X-CSE-ConnectionGUID: zBVrTj/GRzCuitk1g+nVRg== X-CSE-MsgGUID: QqcXWoZ4TXOzKEINraddSw== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4748967" X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="4748967" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 02:45:12 -0800 X-CSE-ConnectionGUID: +zlBDbJmSne7Y6QYoIpx0g== X-CSE-MsgGUID: QBVoaFf/RlaEO49YQjTjlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="12932513" Received: from mkosciow-mobl1.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.244.62]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 02:45:10 -0800 Received: from kekkonen.localdomain (localhost [IPv6:::1]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 70B9911F92C; Mon, 30 Nov 2026 12:45:17 +0200 (EET) Date: Mon, 30 Nov 2026 12:45:17 +0200 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: Benjamin Mugnier Cc: Jizhou Tong , sylvain.petinot@foss.st.com, mchehab@kernel.org, hverkuil@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] media: i2c: vd55g1: stop streaming after an exposure read error Message-ID: References: <010601a1332f1462-5fb80a97-80fa-4d49-bed0-555152da0354-000000@ap-northeast-1.amazonses.com> <010601a1333dc788-a5673ae3-b4b1-44a3-b10e-9698fc58f2ea-000000@ap-northeast-1.amazonses.com> <029be84f-fe2d-411c-87af-ce7de8af45ee@foss.st.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <029be84f-fe2d-411c-87af-ce7de8af45ee@foss.st.com> Hi Benjamin, On Tue, Oct 13, 2026 at 11:24:56AM +0200, Benjamin Mugnier wrote: > Hi, > > Le 13/10/2026 à 05:10, Jizhou Tong a écrit : > > Stream-off saves exposure settings for the next automatic-exposure cold > > start. If that read fails, its error is passed to the subsequent CCI > > operations, which skip accesses when the error accumulator is nonzero. > > The sensor stop command is therefore never issued, although the runtime > > PM reference is released. > > > > Log the exposure snapshot failure separately and clear the accumulator > > before stopping the sensor. Treat the optional snapshot failure as a > > warning: a successful stop returns success, while a stop failure is > > returned to the caller. Completing stream shutdown takes precedence > > over saving exposure settings for the next start. > > > > Signed-off-by: Jizhou Tong > > Reviewed-By: Benjamin Mugnier Reviewed-*b*y: -- I only noticed when Media CI failed. Just FYI. :-) -- Regards, Sakari Ailus