Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966063AbdCXP6v (ORCPT ); Fri, 24 Mar 2017 11:58:51 -0400 Received: from mga05.intel.com ([192.55.52.43]:8504 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965314AbdCXP5U (ORCPT ); Fri, 24 Mar 2017 11:57:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,215,1486454400"; d="scan'208";a="64583644" Date: Fri, 24 Mar 2017 17:55:04 +0200 From: Mika Westerberg To: Andy Shevchenko Cc: Linus Walleij , Alexandre Courbot , linux-gpio@vger.kernel.org, Dmitry Torokhov , Hans de Goede , linux-kernel@vger.kernel.org, Jarkko Nikula , linux-acpi@vger.kernel.org Subject: Re: [PATCH v1 5/8] gpio: acpi: Synchronize acpi_find_gpio() and acpi_gpio_count() Message-ID: <20170324155504.GE2957@lahna.fi.intel.com> References: <20170323194618.26548-1-andriy.shevchenko@linux.intel.com> <20170323194618.26548-6-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170323194618.26548-6-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 329 Lines: 6 On Thu, Mar 23, 2017 at 09:46:15PM +0200, Andy Shevchenko wrote: > If we pass connection ID to the both functions and at the same time > acpi_can_fallback_to_crs() returns false we will get different results, i.e. > the number of GPIO resourses returned by acpi_gpio_count() might be not ^^^^^^^^^ resources