linux 6.2-rc5

Everything seems to be working on MacBookPro16,1.

- 	remove fix-acpica-for-zero-arguments-acpi-calls
	Fixed upstream by 7dfb216eda99bb "ACPICA: Fix operand resolution"
-	wifi: update to 6.2, fix context mismatch
-	applesmc: make applesmc_remove void function
This commit is contained in:
Orlando Chamberlain
2023-02-10 23:05:45 +11:00
committed by Aditya Garg
parent 5d7fec1df9
commit 8c6eb2ecff
4 changed files with 470 additions and 2935 deletions
@@ -1,14 +0,0 @@
diff --git a/drivers/acpi/acpica/dswexec.c b/drivers/acpi/acpica/dswexec.c
index e8ad41387f84c1..5a58f464ad2349 100644
--- a/drivers/acpi/acpica/dswexec.c
+++ b/drivers/acpi/acpica/dswexec.c
@@ -391,7 +391,8 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state)
* All opcodes require operand resolution, with the only exceptions
* being the object_type and size_of operators.
*/
- if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE)) {
+ if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE) &&
+ walk_state->num_operands > 0) {
/* Resolve all operands */
@@ -0,0 +1,35 @@
From e52b0fad357b6203691942831715fce4f26d66e2 Mon Sep 17 00:00:00 2001
From: Orlando Chamberlain <orlandoch.dev@gmail.com>
Date: Tue, 24 Jan 2023 15:46:48 +1100
Subject: [PATCH 1/1] applesmc: make applesmc_remove void
for linux6.2 compatibility
---
drivers/hwmon/applesmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index d071130ff68d..12be9269a314 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -979,7 +979,7 @@ static int applesmc_add(struct acpi_device *dev)
return ret;
}
-static int applesmc_remove(struct acpi_device *dev)
+static void applesmc_remove(struct acpi_device *dev)
{
struct applesmc_device *smc = dev_get_drvdata(&dev->dev);
@@ -990,7 +990,7 @@ static int applesmc_remove(struct acpi_device *dev)
mutex_destroy(&smc->reg.mutex);
kfree(smc);
- return 0;
+ return;
}
static acpi_status applesmc_walk_resources(struct acpi_resource *res,
--
2.39.1
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff