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 AF4AB2F7EF5 for ; Tue, 6 Oct 2026 08:02:57 +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=1791273778; cv=none; b=VJxJRNANL324RIKoZxDOGRSVoKxj2u9qvqTE/1i0zp0QWLT1Mc3mcxUbYpqVqP8rOGCAzn6VvHxN7k0xhhTsNL2wxKYlyDVat8lN66sRofpk+m8c7u+8hv5ACbdW67WHiV3JJoMOMkyT6W7ErR0+ADVmcXshxTAAi/H5g9xGoLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791273778; c=relaxed/simple; bh=v1KuSnThyLkmycHPQRGg7SDc4gMEPhJa9DrDKm3TdOc=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=r3WCuUOT1uopL4V6ImvIhnhe0k8hBCbtPsfk37pI6lWtV9z0/oE3yeP4lIDos6plMBBLgEUOci8mFAe3lAXEI98JdE0Y0jdzax795CF7WW5gU2eW9/1nqC8HcjFpU9V7MvT+mWJXUqkStvZfuNGLnOwAwMvp5I7jkbsmJ9qheBo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BudAffgo; 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="BudAffgo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 313451F000FF; Tue, 6 Oct 2026 08:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791273777; bh=igydtU+74nHgD1cqH5IJsTGe30pE3wH3yTa9kTwDYtU=; h=Subject:To:Cc:From:Date; b=BudAffgoNzpZdnTh5IwV+VW+AMo9oa8qeuGZBLPybqjrZ6mHEvwtic6QEhKJw9Zo3 Dm2UllbeUGoX9wjhgukxarGhL3nwAbxlS79CxASzlFwM4BwJYDZwmIMb5X8Boa5hQV XzQkhRgGWfOskdinwanoj3t70BnQ8JJzSH3cHy9A= Subject: FAILED: patch "[PATCH] iio: adc: adi-axi-adc: Initialize state mutex" failed to apply to 6.18-stable tree To: janani.sunil@analog.com,Stable@vger.kernel.org,jonathan.cameron@oss.qualcomm.com Cc: From: Date: Tue, 06 Oct 2026 09:52:09 +0200 Message-ID: <2026100609-decibel-passing-b1dc@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.18-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.18.y git checkout FETCH_HEAD git cherry-pick -x 549b71ce050637dd32678371ad76c445a2f8c9aa # git commit -s git send-email --to '' --in-reply-to '2026100609-decibel-passing-b1dc@gregkh' --subject-prefix 'PATCH 6.18.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 549b71ce050637dd32678371ad76c445a2f8c9aa Mon Sep 17 00:00:00 2001 From: Janani Sunil Date: Thu, 13 Aug 2026 15:56:56 +0200 Subject: [PATCH] iio: adc: adi-axi-adc: Initialize state mutex The AXI ADC register access paths serialize transactions with st->lock, but probe does not initialize it. Initialize the mutex before registering the backend. Fixes: 7ecb8ee5c93b ("iio: adc: adi-axi-adc: support digital interface calibration") Signed-off-by: Janani Sunil Cc: Signed-off-by: Jonathan Cameron diff --git a/drivers/iio/adc/adi-axi-adc.c b/drivers/iio/adc/adi-axi-adc.c index 589f03618ecf..fc7cc92b35f0 100644 --- a/drivers/iio/adc/adi-axi-adc.c +++ b/drivers/iio/adc/adi-axi-adc.c @@ -714,6 +714,10 @@ static int adi_axi_adc_probe(struct platform_device *pdev) if (!st) return -ENOMEM; + ret = devm_mutex_init(dev, &st->lock); + if (ret) + return ret; + base = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(base)) return PTR_ERR(base);