From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) (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 4BCF41A3A8A; Wed, 26 Mar 2025 12:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.110 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742990532; cv=none; b=TgSbuNm6O8WBuuWrxZXFmu7CBXHVRlAL5tFaJljD1yaDliGdR7sIjJES+o1PIhMIj0QaPxH3s7QX0Nw1DoQC4npSBWQdY1wWauX4wNmwzNIOlKtCH0/FfwZ/yhWp+geFO8PZmcuJXp9qmRbu3W1iHaufjy2NskUbMJ8ehrh+LIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742990532; c=relaxed/simple; bh=vviVK3d2BSu5qwujaWLoep4chvfa8uodmVKj2BRTnqE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hL5EGVRV7d0A333QjQfWlAB5gQO4ThA+ylcowGHwYpx8p9B3ogRqlQTDQeAF9SAT3wlDu7LTdN2omgmr4zmmrUK5G6L0+gUfHxHXpm4d16TcOKIY2AOOF37Pu8GsTXDa23VplSBF0aIJ7S6jX3FMrlxCL7ajfZqi55RF/M5CQTQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=NsTqIyp1; arc=none smtp.client-ip=115.124.30.110 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="NsTqIyp1" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1742990525; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=dnTKE+3a0PHE8KyBH2PwboV///LuIr291dYXRKlIuSI=; b=NsTqIyp1XD/d6KuLBx8I+YCNOFNplu8eMq4qqae4jSYhtLNFcRLogo50s7DDz6rdznAbhibB3a/TApCWREs5CRnxf7KetEoBPn08svUYodVsUDDMne2uJELTi9ZEf07L69ph+0WAmyOR9WJxNPaGHZJeSk6zoWaOu0fEfxUhYCg= Received: from 30.178.82.117(mailfrom:kanie@linux.alibaba.com fp:SMTPD_---0WT4IC3Z_1742990524 cluster:ay36) by smtp.aliyun-inc.com; Wed, 26 Mar 2025 20:02:05 +0800 Message-ID: Date: Wed, 26 Mar 2025 20:02:03 +0800 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: =?UTF-8?B?TW96aWxsYSBUaHVuZGVyYmlyZCDmtYvor5XniYg=?= Subject: Re: [PATCH] gpio: tegra186: fix resource handling in ACPI probe path To: Bartosz Golaszewski Cc: Linus Walleij , Thierry Reding , Jonathan Hunter , linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org References: <20250326063214.50577-1-kanie@linux.alibaba.com> From: Guixin Liu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 在 2025/3/26 17:08, Bartosz Golaszewski 写道: > On Wed, Mar 26, 2025 at 7:32 AM Guixin Liu wrote: >> When the Tegra186 GPIO controller is probed through ACPI matching, >> the driver emits two error messages during probing: >> "tegra186-gpio NVDA0508:00: invalid resource (null)" >> "tegra186-gpio NVDA0508:00: invalid resource (null)" >> >> Fix this by getting resource first and then do the ioremap. >> >> Signed-off-by: Guixin Liu >> --- > Please add Cc: stable and Fixes: tags. Will be changed in v2, thanks. Best Regards, Guixin Liu > > Bart