Skip to content

Commit 2c99392

Browse files
committed
hw-mgmt: kernel 6.12: Fix patches apply for 6.12.41
Fix patches apply for 6.12.41 Bug: 4667679 Signed-off-by: Oleksandr Shamray <[email protected]>
1 parent 59768b2 commit 2c99392

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

recipes-kernel/linux/linux-6.12/8013-hwmon-pmbus-mp2975-Clear-interrupts-at-probe.patch

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ Signed-off-by: Ciju Rajan K <[email protected]>
1414
1 file changed, 28 insertions(+)
1515

1616
diff --git a/drivers/hwmon/pmbus/mp2975.c b/drivers/hwmon/pmbus/mp2975.c
17-
index 51986adfb..47f092259 100644
17+
index 280bb12f762c..fbaee50c7129 100644
1818
--- a/drivers/hwmon/pmbus/mp2975.c
1919
+++ b/drivers/hwmon/pmbus/mp2975.c
20-
@@ -33,6 +33,7 @@
21-
#define MP2975_MFR_READ_VREF_R2 0xa3
22-
#define MP2975_MFR_OVP_TH_SET 0xe5
20+
@@ -38,6 +38,7 @@
2321
#define MP2975_MFR_UVP_SET 0xe6
22+
23+
#define MP2973_MFR_RESO_SET 0xc7
2424
+#define MP2975_CLEAR_CAT_FAULTS 0xfd
2525

2626
#define MP2975_VOUT_FORMAT BIT(15)
2727
#define MP2975_VID_STEP_SEL_R1 BIT(4)
28-
@@ -659,6 +660,28 @@ mp2975_vout_per_rail_config_get(struct i2c_client *client,
28+
@@ -939,6 +940,28 @@ mp2975_vout_per_rail_config_get(struct i2c_client *client,
2929
return 0;
3030
}
3131

@@ -51,10 +51,10 @@ index 51986adfb..47f092259 100644
5151
+ return ret;
5252
+}
5353
+
54-
static struct pmbus_driver_info mp2975_info = {
54+
static const struct pmbus_driver_info mp2975_info = {
5555
.pages = 1,
5656
.format[PSC_VOLTAGE_IN] = linear,
57-
@@ -736,6 +759,11 @@ static int mp2975_probe(struct i2c_client *client)
57+
@@ -1068,6 +1091,11 @@ static int mp2975_probe(struct i2c_client *client)
5858
if (ret)
5959
return ret;
6060

@@ -68,4 +68,3 @@ index 51986adfb..47f092259 100644
6868

6969
--
7070
2.47.2
71-

recipes-kernel/linux/linux-6.12/8014-platform-mellanox-mlxreg-dpu-Debug-trace-for-dpu-pro.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Signed-off-by: Ciju Rajan K <[email protected]>
99
1 file changed, 5 insertions(+), 1 deletion(-)
1010

1111
diff --git a/drivers/platform/mellanox/mlxreg-dpu.c b/drivers/platform/mellanox/mlxreg-dpu.c
12-
index c79531481..1074c4853 100644
12+
index 314385cc1495..3b07c66c87dc 100644
1313
--- a/drivers/platform/mellanox/mlxreg-dpu.c
1414
+++ b/drivers/platform/mellanox/mlxreg-dpu.c
15-
@@ -537,9 +537,13 @@ static int mlxreg_dpu_probe(struct platform_device *pdev)
15+
@@ -530,9 +530,13 @@ static int mlxreg_dpu_probe(struct platform_device *pdev)
1616
if (!data || !data->hpdev.brdinfo)
1717
return -EINVAL;
1818

@@ -26,7 +26,7 @@ index c79531481..1074c4853 100644
2626
+ }
2727

2828
mlxreg_dpu = devm_kzalloc(&pdev->dev, sizeof(*mlxreg_dpu), GFP_KERNEL);
29-
if (!mlxreg_dpu)
29+
if (!mlxreg_dpu) {
3030
--
3131
2.47.2
3232

0 commit comments

Comments
 (0)