From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 B1D08137750 for ; Thu, 30 Jul 2026 07:50:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785397838; cv=none; b=In5KtbUC60EEhL1nxu1revmEW8GCARNWww7Qe8D85+I8/7D+BUM6J8ToXoxUPiYvAD9IxhUTWITEY0OLX23WL04HjHL741xFWWsEMk/X/p10q7t3U12VYF146hN4P93Mo28mCDY47zbIlzl8350Ovod3k98BRHzryoN2gEmfvTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785397838; c=relaxed/simple; bh=1WAzoaaCAo6cj6uJuPgS6QKBgvxSmnWCYTM1la5NyG4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bIg5fp96DhnRCydDgOaXbeOFl40EagKRmc0X7GW0krNpfefpAXrJsW04fudta7fZyvYy5b4AHVEQf2riavSAcHAeyjNZi85Ma0NDpItgTASt/p+ko4S4UkKI8ImEXU0N/UmejjQ0CaMxFL0AjhRt/bC8hlBHZQ9k5/csVjT0mdc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=eb1Om9Jx; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Kxb+uz30; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="eb1Om9Jx"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Kxb+uz30" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66U7TY35148878 for ; Thu, 30 Jul 2026 07:50:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=oOI8N2IzZLt8muTQy9Xe3yIFX+yhwcPZKza 298upmtQ=; b=eb1Om9JxE29YXd8vuK2liz0JYuaUC6QVlRATY2LiDBXOuINAXLC vbfFM7uEtxY8mDZ6CFG9lSxi74awvicuC+y8abs9Sot6j/cjPERGVw1R3oLxmddJ 4dXLd3sVULxwKjB++DzqFrmE4xwAm8Y9rIXVuxAs3W3UYqFFAYPd+RPEyfO6AAEp ithTv+QlPxFkPvuXqniTHQ17CGQJrGKGH7baL0Gm968bnBtktxUrwcUyCmGxO17K bhBA9KyCGbGKRCtMtFZ6WT9B8b5NV4jjmE/tNMVtXjFlBO5WSXK50KgEsIv5d3s1 g6NpvFVcFHq327IwAWsnQeY8a//m5XdCa+Q== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fr29582w8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 30 Jul 2026 07:50:35 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-522de3c645dso34715781cf.3 for ; Thu, 30 Jul 2026 00:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1785397830; x=1786002630; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=oOI8N2IzZLt8muTQy9Xe3yIFX+yhwcPZKza298upmtQ=; b=Kxb+uz30j9sx/p84Ro1dPyeCyv/8jgFGPF0wq4B1Dy/lTOsQicQ/MJWldMNX9PgkT2 JJMZcWEPJzfY3DwM3C7YhuD4rTlDB6SbAZ6MlfPvTxGjtq0tBZ/xa02jWLcuRdkCCexm 6XnSyLCwQBGTE5ERsRr63ouAbv/6X4tsekRok5zzlJItJGCcLPDr9w1MBmlXs6tisWG6 GrRavnW9GjZoA/UHftEmj/hdHO/2STul4X06dwcjuXU6B/eG1jo1gMAshuYciMsdTpMi +B1Oo9RXQOEEmFxYlELbfldaN2F4NIXLc8slZmd3zyDCscDK5Z+FnvVGE7lUwDSD94Pa mw1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785397830; x=1786002630; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=oOI8N2IzZLt8muTQy9Xe3yIFX+yhwcPZKza298upmtQ=; b=Wv4fpZjEBpt/NoJiEpQy6PS+dehn1NJYX+a/vI2dkd3jp8ZOehzYsGLwK95bE4J1Dx RMi+QjZfPqBkB2FbLBvEtr0YTWTRg8dxVVYHkHGJne6Y5Qs8unEt9ir1sUR4f8e3ytCs vcVkm3F1k72RIcRbyy8ShTgPbQXPjlBzPTndYnpV9vlYHC9UOe01cTE+bCfOItMDYYBh v40H/k9y1YHXqzs/bdGjCRhCCWoD3C6uYlc/+wbN4oZ26KtFOQgL0pSQWa3dJ5SQz68r MSP3vtwhvIrNwiUC8h7AduAbgctQgd29tPtwZ5sjGl0xFOvL+tN/Mq4D2veecKl9n9tY t3Tw== X-Forwarded-Encrypted: i=1; AHgh+RppboyHd0dMHbn0GZw3OvaRtEpJnp7DLcBFmMRY7hxx+H4CTW3cbTb0aG/SBA88a6B9Psx86P/B33n+TgI=@vger.kernel.org X-Gm-Message-State: AOJu0Yw1FLPybAJrGqHoC+TQlntH3GdqGHryURehSeBFR5/TlhdT7LH3 gmVAzpzrq7aqO/kVZSZusjh1l+UJIv+66K50cj/dcW4VbpVZvdFcEP8T4Uf36J89nX4XQN01MI3 6oM1ECRIwdraGRE7lvErr1tZV70j7YHeXs7hfrb2Gi1L4u/OAuEpL/DbTdhoc8AHdblI= X-Gm-Gg: AR+sD105OSEqxTxSDCL9E4NUwpHpZ5v23mlWeY/6Chr2MRq+Y5ObnfII8r6Ih5rt/J8 VnIRONvipDc181VVvlK3E9j8UqfG34DpuaGo9nI0E75mTiGOQH08xaqg8HzfqFOe1eCx5JNYNWy 5e3yvqFeO1hMLQIG6m6YvnZQOWnTSFNmoVhhAYwr4Mm47bFLbu78ShcqLMnJmgNMepIuAK4Vd8i 0T8XmonEgGWxCiQlVdmwUuwI+72v7YCY5ROKdWWlnWj37IzHUsZoJoeONmUQ+3l81eAsAh9+BVL Rgtir3eL+dr4/PMkFX+hEqnzHv8VJAxNt05LY+PPErvJbw9voltXQYMozv6Keg1YQrvS/wRsLQR 85s81xBRqfOb4HwaHbt0QPty/W5sm X-Received: by 2002:a05:622a:164b:b0:51a:8c86:bd42 with SMTP id d75a77b69052e-52b386aa275mr15455591cf.63.1785397829987; Thu, 30 Jul 2026 00:50:29 -0700 (PDT) X-Received: by 2002:a05:622a:164b:b0:51a:8c86:bd42 with SMTP id d75a77b69052e-52b386aa275mr15455451cf.63.1785397829535; Thu, 30 Jul 2026 00:50:29 -0700 (PDT) Received: from brgl-qcom.home ([2a01:cb1d:dc:7e00:529e:6fba:4bc2:e378]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49764d6d0f8sm111646775e9.2.2026.07.30.00.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2026 00:50:28 -0700 (PDT) From: Bartosz Golaszewski To: Linus Torvalds Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, brgl@kernel.org, Bartosz Golaszewski Subject: [GIT PULL] gpio fixes for v7.2-rc6 Date: Thu, 30 Jul 2026 09:50:24 +0200 Message-ID: <20260730075024.7320-1-bartosz.golaszewski@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=PYfPQChd c=1 sm=1 tr=0 ts=6a6b024b cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=xqWC_Br6kY4A:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=VwQbUJbxAAAA:8 a=LKkrQhEXttJtp-Se6hYA:9 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-GUID: og8CmuauScXREOZRC7207glLj86iunXa X-Proofpoint-ORIG-GUID: og8CmuauScXREOZRC7207glLj86iunXa X-Proofpoint-Spam-Info: AW1haW4tMjYwNzMwMDA1NSBTYWx0ZWRfXx+D5ROtMjTBn AqBbWrwAchLS2eahTjLOrocdou5raI15cmCyAbh+w5y+R0IV+Cv0iL1oEstk5mjpE/+LtQbTRli YjJkmajbaHqgpHCZYDShIV/B+tC6SwA= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzMwMDA1NSBTYWx0ZWRfX8c08Fa3iQfHt /ONzRDwzVAUHhmd3LaauhvwKua8aS4eeFdl5DEYblKSLIcPiKTzPG6251tuqw5PwaFoiRKjBE8z +DSWX4KXgTVczXQll1+0H6g5NIAtt2fPQLdZJJHz9vxzpuzSoXb+yOcpW+F4QTQx8DzY1hSKUjn FeyvnbSUy25MOpRSwTx6qqKsc16ZAcNj2uzOqjhPRGQRc9aOMY6K1j79IWhtpMZF48DHKqOcQdu UTffzyfpNiR9DwtW8MsBttjWp1KCvNPyPbFDUrpsftBaAOuN2oZvneTalWQ0lWii1vhQZyQHPtF 9zVIHu7cB984aKpyaaRj+pvF+Hk875lcfcT+LuSGcj1xeBUgtJ9Xs1HkqzquXip2O99v9gV+r15 niMVygB8T/GFIlsWQH3z88dzGumL2vSvPjxVvtu9Y6n8W3cOFBUasqSrpw9LWIBFQBCZYms8mIv ZJVsTKn8/JQFu5BH8vA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-30_02,2026-07-29_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 adultscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607300055 Linus, Please pull the following set of GPIO fixes for the next RC. Thanks, Bartosz The following changes since commit a13c140cc289c0b7b3770bce5b3ad42ab35074aa: Linux 7.2-rc3 (2026-07-12 14:16:39 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.2-rc6 for you to fetch changes up to a02b8950d619123da64f69b70fe1dadef217dfe4: gpio: pch: use raw_spinlock_t for the register lock (2026-07-27 15:07:51 +0200) ---------------------------------------------------------------- gpio fixes for v7.2-rc6 - fix a memory leak in gpio-sloppy-logic-analyzer - fix a regression in GPIO hog handling for hogs without direction specified - extend the critical section in IRQ handling in gpio-pca953x to cover the reads from the direction register - disable the interrupt on errors when restoring context in gpio-pca953x - apply the initial value when setting direction in gpio-by-pinctrl - use raw spinlock for the register lock in gpio-pch to address locking context issues ---------------------------------------------------------------- Abdun Nihaal (1): gpio: sloppy-logic-analyzer: Fix memory leak in gpio_la_poll_probe() Alex Tran (1): gpio: gpio-by-pinctrl: Apply initial value in direction output wrapper Daniel Golle (1): gpiolib: tolerate gpio-hogs lacking a hogging state Junjie Cao (1): gpio: pch: use raw_spinlock_t for the register lock Mark Tomlinson (1): gpio: pca953x: fix pca953x_irq_bus_sync_unlock regmap lock bui duc phuc (1): gpio: pca953x: fix cache_only and IRQ state on restore_context() failure drivers/gpio/gpio-by-pinctrl.c | 18 ++++++++++------ drivers/gpio/gpio-pca953x.c | 34 ++++++++++++++++++++++++------- drivers/gpio/gpio-pch.c | 28 ++++++++++++------------- drivers/gpio/gpio-sloppy-logic-analyzer.c | 10 +++++++++ drivers/gpio/gpiolib.c | 13 +++++++----- 5 files changed, 71 insertions(+), 32 deletions(-)