From nobody Tue Apr 7 00:44:52 2026 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F1F03B5858; Tue, 17 Mar 2026 11:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773748618; cv=none; b=cDR7l3gQlS4TDBwyZaBJwxCE1iJ5M3FIxUYMauiyXme4H/gE7pdaJcppzy+YmoXWYyzgWSvyMhu7pVvsuegj00+fXsAw3BNgnVNqcaQFJEHE4eyTDT5OVof+1qrcMwZm1u18UTj8gCLtoqXYaROsK31l6KewNXHhdhoMlCMSftM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773748618; c=relaxed/simple; bh=JNcHzp2vUvet+HC+elhus6q0vUhvqSZM56J3WlZfRz0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VwGVoktIl8TEyI5MIMvbOjlqFWCGXs360K3h6Tz28Qi4AN8UzCvNlkyY1LEbE9KtkvK5Nqxs5ITig+dcIqR48HrEjksmmrETYHv554R57pueMiJ6EOPrzne8470m0dS5IhaUfztXsCvLMdNPvBbtZ5pmNyCOu5dtoajLJ6OXfDo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b=qbgO9yzC; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b="qbgO9yzC" X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 62HBsBryD3851622, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1773748451; bh=LmcQWcTpui/IS83jy38IVoTuQN9QElDGWF7h4ph+PX0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=qbgO9yzCkcfA2EjlD81g71Xx8XE3t0P8tk94sCgMWO7ukxLFz82vkCcK8FsU0A/l0 flBPBQnCpb7OtpjqH6hPojOeNTYCM8UXr9sgpWJY/yYWUqGRKe+C2MU7i4xGnJ3Ajw uUIDv2A2puI+kS+6yuJ5NqxLXRQaViaIQ0AsD+DO5AtiDkhpn6A+2Y257Q1R+6xchu duRO9BA6Bi4gIM4ev5uuPP9Sh2LYoa4ubsYvC9HkbYT0gjYwOLJnmxNvywWAggv6Iq NSeNMXP8NxRiHP2xT/EDYoWRTl4dC6aENRlwbbS5Ew+gz9dKRPcFlz9sQ+RPpfcydi u1iApzvr0Qqrg== Received: from mail.realtek.com (rtkexhmbs02.realtek.com.tw[172.21.6.41]) by rtits2.realtek.com.tw (8.15.2/3.21/5.94) with ESMTPS id 62HBsBryD3851622 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Mar 2026 19:54:11 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS02.realtek.com.tw (172.21.6.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Tue, 17 Mar 2026 19:54:11 +0800 Received: from RTKEXHMBS05.realtek.com.tw (10.21.1.55) by RTKEXHMBS06.realtek.com.tw (10.21.1.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Tue, 17 Mar 2026 19:54:11 +0800 Received: from cn1dhc-k02 (172.21.252.101) by RTKEXHMBS05.realtek.com.tw (10.21.1.55) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Tue, 17 Mar 2026 19:54:11 +0800 From: Yu-Chun Lin To: , , , , CC: , , , , , , , , , , Subject: [PATCH v4 1/8] pinctrl: realtek: Fix function signature for config argument Date: Tue, 17 Mar 2026 19:54:03 +0800 Message-ID: <20260317115411.2154365-2-eleanor.lin@realtek.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260317115411.2154365-1-eleanor.lin@realtek.com> References: <20260317115411.2154365-1-eleanor.lin@realtek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The argument originates from pinconf_to_config_argument(), which returns a u32. Therefore, the arg parameter should be an unsigned int instead of enum pin_config_param. Fixes: e99ce78030db ("pinctrl: realtek: Add common pinctrl driver for Realt= ek DHC RTD SoCs") Signed-off-by: Yu-Chun Lin --- Changes in v4: - This is a new patch. --- drivers/pinctrl/realtek/pinctrl-rtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/realtek/pinctrl-rtd.c b/drivers/pinctrl/realte= k/pinctrl-rtd.c index 60dfb39bc986..16cee851393e 100644 --- a/drivers/pinctrl/realtek/pinctrl-rtd.c +++ b/drivers/pinctrl/realtek/pinctrl-rtd.c @@ -280,7 +280,7 @@ static const struct rtd_pin_sconfig_desc *rtd_pinctrl_f= ind_sconfig(struct rtd_pi static int rtd_pconf_parse_conf(struct rtd_pinctrl *data, unsigned int pinnr, enum pin_config_param param, - enum pin_config_param arg) + unsigned int arg) { const struct rtd_pin_config_desc *config_desc; const struct rtd_pin_sconfig_desc *sconfig_desc; --=20 2.34.1