ACPI: scan: Drop INT3396 from acpi_ignore_dep_ids[]
diff mbox series

Message ID 12017158.VsPUki9SGr@kreacher
State Accepted
Commit b36b1e9db41fcff860624ece91c71b62f2ad6754
Headers show
Series
  • ACPI: scan: Drop INT3396 from acpi_ignore_dep_ids[]
Related show

Commit Message

Rafael J. Wysocki Dec. 7, 2020, 4:55 p.m. UTC
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

According to Hans, all device objects where the _HID returns
"INT3396" also have a _CID returning "PNP0D80", so the former
need not be present in acpi_ignore_dep_ids[] any more.

Link: https://lore.kernel.org/linux-acpi/52a2b98c-6bf3-760b-eca9-93cf05fb4877@redhat.com/
Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---

On top of https://patchwork.kernel.org/project/linux-acpi/patch/3849919.JfvvSOo2yN@kreacher/

---
 drivers/acpi/scan.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Hans de Goede Dec. 7, 2020, 4:57 p.m. UTC | #1
Hi,

On 12/7/20 5:55 PM, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> According to Hans, all device objects where the _HID returns
> "INT3396" also have a _CID returning "PNP0D80", so the former
> need not be present in acpi_ignore_dep_ids[] any more.
> 
> Link: https://lore.kernel.org/linux-acpi/52a2b98c-6bf3-760b-eca9-93cf05fb4877@redhat.com/
> Suggested-by: Hans de Goede <hdegoede@redhat.com>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Thanks, patch looks good to me. FWIW:

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
> 
> On top of https://patchwork.kernel.org/project/linux-acpi/patch/3849919.JfvvSOo2yN@kreacher/
> 
> ---
>  drivers/acpi/scan.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> Index: linux-pm/drivers/acpi/scan.c
> ===================================================================
> --- linux-pm.orig/drivers/acpi/scan.c
> +++ linux-pm/drivers/acpi/scan.c
> @@ -751,7 +751,6 @@ static bool acpi_info_matches_ids(struct
>  
>  /* List of HIDs for which we ignore matching ACPI devices, when checking _DEP lists. */
>  static const char * const acpi_ignore_dep_ids[] = {
> -	"INT3396", /* Windows System Power Management Controller */
>  	"PNP0D80", /* Windows-compatible System Power Management Controller */
>  	NULL
>  };
> 
> 
>

Patch
diff mbox series

Index: linux-pm/drivers/acpi/scan.c
===================================================================
--- linux-pm.orig/drivers/acpi/scan.c
+++ linux-pm/drivers/acpi/scan.c
@@ -751,7 +751,6 @@  static bool acpi_info_matches_ids(struct
 
 /* List of HIDs for which we ignore matching ACPI devices, when checking _DEP lists. */
 static const char * const acpi_ignore_dep_ids[] = {
-	"INT3396", /* Windows System Power Management Controller */
 	"PNP0D80", /* Windows-compatible System Power Management Controller */
 	NULL
 };