Message ID | 20240207104604.174843-1-antonio.borneo@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-56339-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2139805dyb; Wed, 7 Feb 2024 02:46:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHy/5svMMlInmhYwYtPKNWUG5CVUAQtEFeUs8JAvtNRkpzAaAURvtsJSTc9HmPX3vMp7NyP X-Received: by 2002:ac8:5b89:0:b0:42c:2e0b:28a0 with SMTP id a9-20020ac85b89000000b0042c2e0b28a0mr5635601qta.67.1707302806719; Wed, 07 Feb 2024 02:46:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707302806; cv=pass; d=google.com; s=arc-20160816; b=UaHt3QwT1EdhUVA7vOjl9uU7EVkdRuy/jrlF9vGpvxSVPAaogNvy0K4Yaecf6tCnO0 n4CBulV7K+i0HfumMJTeyO+gvcl6t+YZYnN5gx84AvON29rDDoNqBpiCUAm90qBh25+l XcPhgArF/Vhe3i6gXHG9Xjzew6tfJhKsmEhn/Kj8kMcLtvyDR5qF2a3OuNTfVjUF55Cr vY5jsBQwLkoC1i+SmPuLxKtzv4DDBP4EtpQ3UQxIn1++Ag28YSMyQuRvZqfvLvGWvH8A zskdVbdbiu+Q7gMVr6bxRal8YaaipgjlOGuAAkUyhIbse/0aE5zjWQ/hOGWNbvPPJvje RvAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=PIc5fr43l23sf01s2fsMtu9PxKCMeqeCBi0nksf6Bds=; fh=0YoVTi3hAwk7GwgeRnj63+aQcQMzuoGLYQeENOQh7jI=; b=GCjMVkI4dZcQGclkkeUZhd9kpQEmcHvfTCfaipLw8xUnzGVbbHTZ4MX5JoUtgpSnyf qqtxQXr+cFpSgsc0AsGCrOXSid3vAXxTxQDj7uWvb6r81taTOsqJXqoaUHaDzq0IdPia elXJYzpC+vkspAWWNpBGEdZDXhf81BjTuDWh96A1X3X3SsSFh8cr3Aud/zJvU/0LVa3R ngcxI5STfgV5yAFUXgp03MSg88vYD+0jTDU0iDYV/TEt/fkWir1P+ngENThtHkaKvTcv fdUIDbsh/OEXEZ/lUCE3ct8DdEMMegy8WhAj3e4BypF0obYzjDa7P5tPdv/gLP9h/w9R UEdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=bVW5X8A7; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-56339-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56339-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com X-Forwarded-Encrypted: i=2; AJvYcCWTroCkVq38BoJzulmiD433tEzhh7oWHvJarumCXdy50PUn/7bOVOmdTmEKLPaGSOCmnyVu3ymL9ffUVQDZL7YNKiMfRA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w12-20020a05622a190c00b0042bf8f59cd9si835778qtc.445.2024.02.07.02.46.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 02:46:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56339-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=bVW5X8A7; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-56339-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56339-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A7321C255E9 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 10:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 126BD168DA; Wed, 7 Feb 2024 10:46:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="bVW5X8A7" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 2E96114AA8; Wed, 7 Feb 2024 10:46:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707302789; cv=none; b=QFKfffjUQFyBueY6jIbsyhwmSHU/x4M46mbcjYsPeo2OJce/aAMRk8BiivjNaP4jg+HwS53WpZOKh918l0a2/kJAk2zgZzvr312C9RdJen4/ZqH+O8W8O7n3yuW4qxFrFQuuJL282U8hwKsT7G+RupNBuSmQp6jCQ14eWzaOdB4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707302789; c=relaxed/simple; bh=TPnfcICgI4g3grUmcA2X1ujtIdIPQQJkpPLYySJnthk=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=YwWAn+ORD6xlbQPxTWE6xAEmiA9H7pDj9TqpOWD0eXiPRpkyVwrENo5FtbFEH9OAMHDoqyYqh7Scr61kYYW15mrg+Yqv0bEre7ChOLCA1e/+t54gLi9j203wsQoLBMwTAkKTYVQ4s6fByFW1hvLysUQjbNWyUglXJCoSayyypcg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=bVW5X8A7; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4176FQnZ003091; Wed, 7 Feb 2024 11:46:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=PIc5fr4 3l23sf01s2fsMtu9PxKCMeqeCBi0nksf6Bds=; b=bVW5X8A7Obp8CGLSsz7WyBu kXC3XvjBa2ggJ63H1GVCUnIcvfTspUTDb0VJ8FaNlUYIQKd4XZxYFapca+pB6jyw YlCkuKXgnni4D7RHUUjOrzFHSpJ2I6ioMgShTCUcUvP0tds4yvEF24VFog55M9s+ JoIr8ioX6q/CDcUevO29NdoHWMXuIweh511oEy3hV13SxGYJloRNz/AN2RxeyktJ +A85TU2Q/7XK0B9ir28liEE1ynMfa8gj60c96ybXOcna20KHm6FDFAlRsPehgUVF t7Sj9fpT58VPI9Ht0AoLYGE2MBFW5wx1vPedZNLkYPsvYKMpupL5wkrApDw1rbw= = Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3w1yx45j5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Feb 2024 11:46:16 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F1E1D100058; Wed, 7 Feb 2024 11:46:15 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EBD4922D181; Wed, 7 Feb 2024 11:46:15 +0100 (CET) Received: from localhost (10.252.26.183) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 7 Feb 2024 11:46:15 +0100 From: Antonio Borneo <antonio.borneo@foss.st.com> To: Linus Walleij <linus.walleij@linaro.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, <linux-gpio@vger.kernel.org> CC: Antonio Borneo <antonio.borneo@foss.st.com>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH] pinctrl: stm32: fix PM support for stm32mp257 Date: Wed, 7 Feb 2024 11:46:04 +0100 Message-ID: <20240207104604.174843-1-antonio.borneo@foss.st.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-07_04,2024-01-31_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790236748188466991 X-GMAIL-MSGID: 1790236748188466991 |
Series |
pinctrl: stm32: fix PM support for stm32mp257
|
|
Commit Message
Antonio Borneo
Feb. 7, 2024, 10:46 a.m. UTC
The driver for stm32mp257 is missing the suspend callback in
struct dev_pm_ops.
Add the callback, using the common stm32_pinctrl_suspend()
function.
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Fixes: 619f8ca4a73d ("pinctrl: stm32: add stm32mp257 pinctrl support")
---
drivers/pinctrl/stm32/pinctrl-stm32mp257.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
Comments
On Wed, Feb 7, 2024 at 11:46 AM Antonio Borneo <antonio.borneo@foss.st.com> wrote: > The driver for stm32mp257 is missing the suspend callback in > struct dev_pm_ops. > > Add the callback, using the common stm32_pinctrl_suspend() > function. > > Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> > Fixes: 619f8ca4a73d ("pinctrl: stm32: add stm32mp257 pinctrl support") Patch applied! Yours, Linus Walleij
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32mp257.c b/drivers/pinctrl/stm32/pinctrl-stm32mp257.c index 73f091cd827e..23aebd4695e9 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32mp257.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32mp257.c @@ -2562,7 +2562,7 @@ static const struct of_device_id stm32mp257_pctrl_match[] = { }; static const struct dev_pm_ops stm32_pinctrl_dev_pm_ops = { - SET_LATE_SYSTEM_SLEEP_PM_OPS(NULL, stm32_pinctrl_resume) + SET_LATE_SYSTEM_SLEEP_PM_OPS(stm32_pinctrl_suspend, stm32_pinctrl_resume) }; static struct platform_driver stm32mp257_pinctrl_driver = {