Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 47EF822425B for ; Tue, 6 Oct 2026 07:44:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791272652; cv=none; b=i1NVgeclYrHaY6z63LSUC+XJdpyNfJwVMGRpiseyVfZ8AuXCwjORZ1lM3dhTUGw9kkDBFJHwVfyoVnsUB3GaBGeDc9ah/pGF3wUM3K6nwiXbrFnjH9Mofb6/FOo+RDTI12V8wkhU20HWVOIAHdj8YUy2O5z+LCVFSYvbE611ofo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791272652; c=relaxed/simple; bh=SG/h+Xq1zPE4CT29d0YSD99OhK5mUgOrkIH2eNvXihg=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=dlwtqEZ/xcl0mCjJO8PVCJpY6WUUAUnAIL+WpSfmatRg/z3bcw3r/LQreV4SOlUGtkRCcJV2tQFEveUyDDGdyYi3Q+UEhQzi/dvDf1957JUNr8oW/yGvtyRjoRjF/bnkgUJLteT+TLT5RMng2YhdCyacoueQ3W/0azkTsiesTeQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m9hBA4NU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="m9hBA4NU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A45A41F000FF; Tue, 6 Oct 2026 07:44:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791272651; bh=/KaAU/OmggUp+vYAsHiH9Xo0vRfo7LPB4GCVWtWlptM=; h=Subject:To:Cc:From:Date; b=m9hBA4NUdeZqV+s6LElAKCUjDyVMx4Nt4O5v82GjCqqJ20ceTwVw1qcts8rEpT5Yo rvqhhmdw3JNEFZ5cHTh88uVdjNFzU4f6xg2h65ZayAIhcdK/oikVkPls7A6zECEDYS Q6yMLd65znn4YSgg/BspKPmbb2xR4w1kBFf22izQ= Subject: FAILED: patch "[PATCH] iio: adc: aspeed: propagate reset deassert errors" failed to apply to 6.12-stable tree To: pengpeng@iscas.ac.cn,jonathan.cameron@oss.qualcomm.com Cc: From: Date: Tue, 06 Oct 2026 09:44:00 +0200 Message-ID: <2026100600-stage-saturday-572e@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 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 . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.12.y git checkout FETCH_HEAD git cherry-pick -x 95e4eb426b4bd666fa2f37886c0ddf74a0cc6167 # git commit -s git send-email --to '' --in-reply-to '2026100600-stage-saturday-572e@gregkh' --subject-prefix 'PATCH 6.12.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 95e4eb426b4bd666fa2f37886c0ddf74a0cc6167 Mon Sep 17 00:00:00 2001 From: Pengpeng Hou Date: Sun, 30 Aug 2026 21:42:27 +0800 Subject: [PATCH] iio: adc: aspeed: propagate reset deassert errors aspeed_adc_probe() continues to register ADC resources after deasserting the shared reset, even if the reset controller reports a failure. A failed deassertion leaves the hardware unavailable, so stop probing before installing the cleanup action and enabling the ADC. Fixes: edf7550a1f93 ("iio: adc: aspeed: Deassert reset in probe") Signed-off-by: Pengpeng Hou Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron diff --git a/drivers/iio/adc/aspeed_adc.c b/drivers/iio/adc/aspeed_adc.c index 6169ce28261e..452c30cf04f2 100644 --- a/drivers/iio/adc/aspeed_adc.c +++ b/drivers/iio/adc/aspeed_adc.c @@ -585,7 +585,9 @@ static int aspeed_adc_probe(struct platform_device *pdev) return dev_err_probe(dev, PTR_ERR(data->rst), "invalid or missing reset controller device tree entry"); - reset_control_deassert(data->rst); + ret = reset_control_deassert(data->rst); + if (ret) + return ret; ret = devm_add_action_or_reset(dev, aspeed_adc_reset_assert, data->rst); if (ret)