From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.10 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796403428; b=ZId+fgij2ziJlStZ1DmPF3oqjCpv/HF2MDOY/kyMNI7Zd4THuXDszI4NrzYFbAyeD0Wn dgzvfGfAkfHeMwX9EAOtzqM9ig2JroYO1wYEBaq7pVf02McFBEuLApKasS7cVeuZ4dNg+ CHA2n5YR673Y+vAPspIon5GQHgzrZKnRlKWfCA4bTsx0TFaPBBSdRjzO7Hhwds+L5/nhT YPW12oFRdI8FcvcaXoqhO8mkKUEB9w89MnVDymia82vAGgGomttQ32rgxpdNbnDWTM/ti r+HsEVWqGlkIvDSY2Q6lw3q7qTonpvJofktEnB99E7sWJJf/Y0WBstXwjensvspPSWw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796403428; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=WkfrRfKEKN+Ape6SEDTQRjGQ22b9YjSuUERpNW8R7i4=; b=C5pUkHYT9T6A2J8qlLZIUVG6QeCzhvmcFcglM6gszZGBc6KzC2GofnBrna22a6cPQKjR gwCK3G+Fh8ajZk2d3KLOF3iXxmY2ezqNBFFpBKi/MZh+JhFr7DJs0zgxLahDNlgonhRTw Nu6pcxiouQao2uMgfRN+QUSWbN4iLMYOpansWj0Jb0q4kI42jLffDgdYiearHNpLw22j6 8aVMEMpmlzJzMfYrVa5LwI4EqnDQXtnzVWK8nrxOqwFD2VkNBkgCEVkznkWzv35AGSIIC RKEKuCydS84WsPHgpMkRNzdTb62BGBhy4ayXiWiHIBrzu6Mnk8z9+WqgGSQhWG8YfQw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eYQl4p3e; arc=none smtp.remote-ip=192.198.163.10 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD703606A322; Fri, 4 Dec 2026 16:57:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DD703606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eYQl4p3e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796403428; x=1827939428; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WkfrRfKEKN+Ape6SEDTQRjGQ22b9YjSuUERpNW8R7i4=; b=eYQl4p3eI6iiH2TJkpHZ1i4AXaCD3bBerQ/3TzjvcndPkIkdY5NTZSik SI9vEJeOOzc30/RJBvus9DOEGgkmo+BFQImbRiSPWla+bnfEm7dVdu3Dv C5OPwRl4+2IZ6WkDUP5ojXpI7ZSrxhUdruV/PAbTq+NjfGHvjaxdngKwb jTZ5BNx5SjKFisMG4Ocuu/yhKOvzqkCCFe2Q+idcEShKc8szfYRpSNKSx PYMhDV/QMIahxvUH2MLaFzn6obHvXe7sTQJY6isq92tSUR8mC2A3JYPNz IBWR9WDMhGcwDKenITWMzzAFGrHepKy36A0vlFRK94PJfeOhlM71nTJuj Q==; X-CSE-ConnectionGUID: eARSM3sMQPa+txfglQ6zrA== X-CSE-MsgGUID: 8tYm01KvTmCpxttaIbFZZQ== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5276241" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5276241" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 08:57:07 -0800 X-CSE-ConnectionGUID: AIU/8pHOQA+dw/BB3C7XdQ== X-CSE-MsgGUID: MJ6RYjRCRt2jjXPHDKmmqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="14327008" Received: from alekseim-mobl.ger.corp.intel.com (HELO localhost) ([10.245.245.10]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 08:57:04 -0800 Date: Fri, 4 Dec 2026 18:57:02 +0200 From: Andy Shevchenko To: Pengpeng Hou Cc: Jonathan Cameron , David Lechner , Nuno =?iso-8859-1?Q?S=E1?= , Andy Shevchenko , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] iio: adc: ab8500-gpadc: depend on IIO=y Message-ID: References: <179634959304.74470.2476674549192687766@163.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <179634959304.74470.2476674549192687766@163.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Fri, Dec 04, 2026 at 09:59:53AM +0800, Pengpeng Hou wrote: > AB8500_GPADC selects a built-in platform driver, but can be enabled when > IIO=m. In that configuration the parent directory is entered for modules > and the selected ADC object is not built in. > > Require a built-in IIO core, keeping the AB8500 and regulator > dependencies intact. > > The issue was found by our static-analysis tool and manually reviewed. ... > config AB8500_GPADC > bool "ST-Ericsson AB8500 GPADC driver" > - depends on AB8500_CORE && REGULATOR_AB8500 > + depends on IIO=y && AB8500_CORE && REGULATOR_AB8500 > default y Why not default y if IIO=y ? -- With Best Regards, Andy Shevchenko