From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 588F1EB64D9 for ; Fri, 16 Jun 2023 02:20:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240736AbjFPCUx (ORCPT ); Thu, 15 Jun 2023 22:20:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240650AbjFPCUp (ORCPT ); Thu, 15 Jun 2023 22:20:45 -0400 Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70321296F; Thu, 15 Jun 2023 19:20:40 -0700 (PDT) X-QQ-mid: Yeas52t1686882009t655t64710 Received: from 3DB253DBDE8942B29385B9DFB0B7E889 (jiawenwu@trustnetic.com [183.159.171.58]) X-QQ-SSF: 00400000000000F0FPF000000000000 From: =?utf-8?b?Smlhd2VuIFd1?= X-BIZMAIL-ID: 16673244459846436147 To: "'Andy Shevchenko'" , "'Michael Walle'" Cc: , , , , References: <20230607081803.778223-1-jiawenwu@trustnetic.com> <15e2fc098a1e63317368f4812290ca35@walle.cc> <010401d99f6f$26d41600$747c4200$@trustnetic.com> <012b01d99ff7$e51075e0$af3161a0$@trustnetic.com> In-Reply-To: <012b01d99ff7$e51075e0$af3161a0$@trustnetic.com> Subject: RE: [PATCH v2] gpiolib: Fix GPIO chip IRQ initialization restriction Date: Fri, 16 Jun 2023 10:20:08 +0800 Message-ID: <012c01d99ff9$12760da0$376228e0$@trustnetic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: zh-cn Thread-Index: AQJryWnquP8Y9u98p8GNjzLx69HVGQGrRNiSAZtbv08BxPTBjAH/YNofAf5b6aMBhxotga4T2uWQ X-QQ-SENDSIZE: 520 Feedback-ID: Yeas:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I used to be rough at fixing in my test, I tried to set gc->irq.domain = NULL > after calling irq_domain_remove() in gpiochip_irqchip_remove(). I'm sorry I remember wrong, 'gc->irq.domain = NULL' was set in regmap_del_irq_chip() and then called gpiochip_irqchip_remove(). :)