RE: [PATCH] platform/x86: amd-pmc: Make CONFIG_AMD_PMC depend on RTC_CLASS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Public]



> -----Original Message-----
> From: Hans de Goede <hdegoede@xxxxxxxxxx>
> Sent: Tuesday, November 2, 2021 10:33
> To: Mark Gross <markgross@xxxxxxxxxx>; Andy Shevchenko
> <andy@xxxxxxxxxxxxx>
> Cc: Hans de Goede <hdegoede@xxxxxxxxxx>; platform-driver-
> x86@xxxxxxxxxxxxxxx; Limonciello, Mario <Mario.Limonciello@xxxxxxx>;
> Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Subject: [PATCH] platform/x86: amd-pmc: Make CONFIG_AMD_PMC depend on
> RTC_CLASS
> 
> Since the "Add special handling for timer based S0i3 wakeup" changes
> the amd-pmc code now relies on symbols from the RTC-class code,
> add a dependency for this to Kconfig.
> 
> Fixes: 59348401ebed ("platform/x86: amd-pmc: Add special handling for timer
> based S0i3 wakeup")
> Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Thanks!

Acked-by: Mario Limonciello <mario.limonciello@xxxxxxx>

> ---
>  drivers/platform/x86/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index d4c079f4afc6..7400bc5da5be 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -185,7 +185,7 @@ config ACER_WMI
> 
>  config AMD_PMC
>  	tristate "AMD SoC PMC driver"
> -	depends on ACPI && PCI
> +	depends on ACPI && PCI && RTC_CLASS
>  	help
>  	  The driver provides support for AMD Power Management Controller
>  	  primarily responsible for S2Idle transactions that are driven from
> --
> 2.31.1




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux