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 44F58EE4993 for ; Mon, 21 Aug 2023 11:00:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230102AbjHULA7 (ORCPT ); Mon, 21 Aug 2023 07:00:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjHULA6 (ORCPT ); Mon, 21 Aug 2023 07:00:58 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79179DB for ; Mon, 21 Aug 2023 04:00:57 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10808"; a="404561675" X-IronPort-AV: E=Sophos;i="6.01,189,1684825200"; d="scan'208";a="404561675" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 04:00:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10808"; a="712745681" X-IronPort-AV: E=Sophos;i="6.01,189,1684825200"; d="scan'208";a="712745681" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP; 21 Aug 2023 04:00:54 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qY2eT-00ApIh-0o; Mon, 21 Aug 2023 14:00:53 +0300 Date: Mon, 21 Aug 2023 14:00:52 +0300 From: Andy Shevchenko To: haibo.chen@nxp.com Cc: linus.walleij@linaro.org, brgl@bgdev.pl, shenwei.wang@nxp.com, linux-gpio@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH] gpio: mxc: set the port->irq high to 0 for imx2 Message-ID: References: <20230821031443.1443530-1-haibo.chen@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230821031443.1443530-1-haibo.chen@nxp.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Mon, Aug 21, 2023 at 11:14:43AM +0800, haibo.chen@nxp.com wrote: > From: Haibo Chen > > MX2 has one interrupt for all gpio ports, so do not need the value > port->irq_high, need to set to 0. Current setting is -1, which will > meet issue in gpio_set_wake_irq(). Can you describe a bit more the nature of the issue? -- With Best Regards, Andy Shevchenko