From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B28202BD0B; Sun, 1 Mar 2026 01:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772328033; cv=none; b=MXyKoSo6OO19kW/LGxmSJ4mjz55m6pMa3rOLT5KUyZHQUYDHcpZYzZHeoxFlYRN58K7Q796cUqPjG3dXCwF6L/FcOHtqvSR2qL19gDJF0uUN3HIeslrJXllZ4rrVUO8yorN24P9ZjLtzoJpP8XEFx1kp1G5UQzcCafVpKdDVEeA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772328033; c=relaxed/simple; bh=68bUwJHNOtlCVmQlD3fy5u7HzhnLcqn5zVxiLvNhbdg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uVOdQypOdJxzawW9dmIgOWEpX47824QoejGJ5o/JXnXIo95q/LsdORrxJo4Xkug7Fp/gW/TBRx0Q9J88Ar3mdaSiqZ/DGumN+he18U/pQtVNfbnewKvNOAh4DBX0/ohX26yzXVhGTEZlohjaHLmBONgY023TyWDURvjm6dR0MTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nanezdwy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nanezdwy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB828C19421; Sun, 1 Mar 2026 01:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772328033; bh=68bUwJHNOtlCVmQlD3fy5u7HzhnLcqn5zVxiLvNhbdg=; h=From:To:Cc:Subject:Date:From; b=nanezdwyzsM6Bbg1JKSGI8oGUayJnHrH3/Gri4nGeDYqlCuLIosaz7H3WIpK3oq8S r4lMsEpFZLnUSNsLvXv4C561zpSTuL4ubwavuCR8oXfikjNTTAbLKbzBPMlDVEQLIM Ys4hKHq8mJymvhb5o/kPW+Xtq890aYzkuC5QcD5NB0OTC+kEJMshcvGMcawUK6W7ET zaoLL+4xugMuVEMniy1LDZ/5YpsSDIGGhTRBOLfbAiIerrBinOqZUFHuLnyGzuNrVH 4cR+uQraGs1i0dnifc+1GhfaOvFqedRV+3eWxMtTCo2BBBJzUCglmjpIPC0Re694tV XZv3njJUd6yTg== From: Sasha Levin To: stable@vger.kernel.org, ribalda@chromium.org Cc: Hans de Goede , Neil Sun , Naomi Huang , Sakari Ailus , Hans Verkuil , linux-media@vger.kernel.org Subject: FAILED: Patch "media: dw9714: Fix powerup sequence" failed to apply to 6.12-stable tree Date: Sat, 28 Feb 2026 20:20:31 -0500 Message-ID: <20260301012031.1676096-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.12-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From 401aec35ac7bd04b4018a519257b945abb88e26c Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Date: Wed, 10 Dec 2025 07:53:43 +0000 Subject: [PATCH] media: dw9714: Fix powerup sequence We have experienced seen multiple I2C errors while doing stress test on the module: dw9714 i2c-PRP0001:01: dw9714_vcm_resume I2C failure: -5 dw9714 i2c-PRP0001:01: I2C write fail Inspecting the powerup sequence we found that it does not match the documentation at: https://blog.arducam.com/downloads/DW9714A-DONGWOON(Autofocus_motor_manual).pdf """ (2) DW9714A requires waiting time of 12ms after power on. During this waiting time, the offset calibration of internal amplifier is operating for minimization of output offset current . """ This patch increases the powerup delay to follow the documentation. Fixes: 9d00ccabfbb5 ("media: i2c: dw9714: Fix occasional probe errors") Signed-off-by: Ricardo Ribalda Reviewed-by: Hans de Goede Tested-by: Neil Sun Reported-by: Naomi Huang Cc: stable@vger.kernel.org Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- drivers/media/i2c/dw9714.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/dw9714.c b/drivers/media/i2c/dw9714.c index 1e7ad355a388c..3288de539452e 100644 --- a/drivers/media/i2c/dw9714.c +++ b/drivers/media/i2c/dw9714.c @@ -149,7 +149,7 @@ static int dw9714_power_up(struct dw9714_device *dw9714_dev) gpiod_set_value_cansleep(dw9714_dev->powerdown_gpio, 0); - usleep_range(1000, 2000); + usleep_range(12000, 14000); return 0; } -- 2.51.0