From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Pengpeng Hou <hppiscas@163.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
"Linus Walleij" <linusw@kernel.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] iio: adc: ab8500-gpadc: depend on IIO=y
Date: Fri, 4 Dec 2026 18:57:02 +0200 [thread overview]
Message-ID: <axLw3u_KwnNDAtE-@ashevche-desk.local> (raw)
In-Reply-To: <179634959304.74470.2476674549192687766@163.com>
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
prev parent reply other threads:[~2026-12-04 16:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 1:59 Pengpeng Hou
2026-12-04 16:57 ` Andy Shevchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axLw3u_KwnNDAtE-@ashevche-desk.local \
--to=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=hppiscas@163.com \
--cc=jic23@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®