WSL2-Linux-Kernel/drivers/pinctrl/intel
Raag Jadav ead2436cf0 pinctrl: cherryview: fix address_space_handler() argument
commit d5301c9071 upstream.

First argument of acpi_*_address_space_handler() APIs is acpi_handle of
the device, which is incorrectly passed in driver ->remove() path here.
Fix it by passing the appropriate argument and while at it, make both
API calls consistent using ACPI_HANDLE().

Fixes: a0b028597d ("pinctrl: cherryview: Add support for GMMR GPIO opregion")
Cc: stable@vger.kernel.org
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:22:55 +02:00
..
Kconfig
Makefile
pinctrl-alderlake.c
pinctrl-baytrail.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
pinctrl-broxton.c
pinctrl-cannonlake.c
pinctrl-cedarfork.c
pinctrl-cherryview.c pinctrl: cherryview: fix address_space_handler() argument 2023-09-19 12:22:55 +02:00
pinctrl-denverton.c
pinctrl-elkhartlake.c
pinctrl-emmitsburg.c
pinctrl-geminilake.c
pinctrl-icelake.c
pinctrl-intel.c pinctrl: intel: Restore the pins that used to be in Direct IRQ mode 2023-02-14 19:18:02 +01:00
pinctrl-intel.h
pinctrl-jasperlake.c
pinctrl-lakefield.c
pinctrl-lewisburg.c
pinctrl-lynxpoint.c pinctrl: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:39 +01:00
pinctrl-merrifield.c
pinctrl-sunrisepoint.c
pinctrl-tigerlake.c pinctrl: tigerlake: Revert "Add Alder Lake-M ACPI ID" 2022-03-16 14:23:40 +01:00