X86 platform drivers
 help / color / mirror / Atom feed
From: Nikita Travkin <nikita@trvn.ru>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: "Hans de Goede" <hdegoede@redhat.com>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM
Date: Thu, 11 Jul 2024 20:30:17 +0500	[thread overview]
Message-ID: <315e6f5fa10cc779ca399f6aec203c32@trvn.ru> (raw)
In-Reply-To: <f5f38709c01d369ed9e375ceb2a9a12986457a1a.1720707932.git.geert+renesas@glider.be>

Geert Uytterhoeven писал(а) 11.07.2024 19:30:
> The Acer Aspire 1 Embedded Controller is only present on the Qualcomm
> Snapdragon-based Acer Aspire 1 laptop.  Hence add a dependency on
> ARCH_QCOM, to prevent asking the user about this driver when configuring
> a kernel without Qualcomm SoC support.
> 

Oh yeah, you're right. Thanks for fixing this!

Acked-by: Nikita Travkin <nikita@trvn.ru>

We should probably do the same for the C630 driver as well...

> Fixes: 2b3efb7c515111ea ("platform: arm64: Add Acer Aspire 1 embedded controller driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/platform/arm64/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/arm64/Kconfig b/drivers/platform/arm64/Kconfig
> index 8c103b3150d1d0a6..058a4baa216a83b8 100644
> --- a/drivers/platform/arm64/Kconfig
> +++ b/drivers/platform/arm64/Kconfig
> @@ -18,6 +18,7 @@ if ARM64_PLATFORM_DEVICES
>  
>  config EC_ACER_ASPIRE1
>  	tristate "Acer Aspire 1 Embedded Controller driver"
> +	depends on ARCH_QCOM || COMPILE_TEST
>  	depends on I2C
>  	depends on DRM
>  	depends on POWER_SUPPLY

  parent reply	other threads:[~2024-07-11 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <80e17dffa8f4c1d3fdedd4d82df3a722aa4044ff.1720707932.git.geert+renesas@glider.be>
2024-07-11 14:30 ` [PATCH] platform: arm64: EC_ACER_ASPIRE1 should depend on ARCH_QCOM Geert Uytterhoeven
2024-07-11 15:06   ` Hans de Goede
2024-07-11 15:30   ` Nikita Travkin [this message]
2024-07-11 15:39     ` Ilpo Järvinen
2024-07-12  9:03   ` Ilpo Järvinen
2024-07-11 14:32 ` [PATCH] platform: arm64: EC_LENOVO_YOGA_C630 " Geert Uytterhoeven
2024-07-11 15:06   ` Hans de Goede
2024-07-12  9:03   ` Ilpo Järvinen
2024-07-12 10:24   ` Dmitry Baryshkov
2024-07-12 12:01     ` Geert Uytterhoeven

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=315e6f5fa10cc779ca399f6aec203c32@trvn.ru \
    --to=nikita@trvn.ru \
    --cc=bryan.odonoghue@linaro.org \
    --cc=geert+renesas@glider.be \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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