From: Greg Kroah-Hartman Date: Thu, 22 Feb 2024 06:57:32 +0000 (+0100) Subject: drop misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch X-Git-Tag: v4.19.307~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02876595be1bbaca3b773f0e993847cf41ab0681;p=thirdparty%2Fkernel%2Fstable-queue.git drop misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch --- diff --git a/queue-4.19/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch b/queue-4.19/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch deleted file mode 100644 index 36bafc893a6..00000000000 --- a/queue-4.19/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 05efee78b940387654e63893d06f73f265440bf2 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Sun, 24 Dec 2023 19:34:02 +0100 -Subject: misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback - -From: Hans de Goede - -[ Upstream commit b1b9f7a494400c0c39f8cd83de3aaa6111c55087 ] - -The lis3lv02d_i2c driver was missing a line to set the lis3_dev's -reg_ctrl callback. - -lis3_reg_ctrl(on) is called from the init callback, but due to -the missing reg_ctrl callback the regulators where never turned off -again leading to the following oops/backtrace when detaching the driver: - -[ 82.313527] ------------[ cut here ]------------ -[ 82.313546] WARNING: CPU: 1 PID: 1724 at drivers/regulator/core.c:2396 _regulator_put+0x219/0x230 -... -[ 82.313695] RIP: 0010:_regulator_put+0x219/0x230 -... -[ 82.314767] Call Trace: -[ 82.314770] -[ 82.314772] ? _regulator_put+0x219/0x230 -[ 82.314777] ? __warn+0x81/0x170 -[ 82.314784] ? _regulator_put+0x219/0x230 -[ 82.314791] ? report_bug+0x18d/0x1c0 -[ 82.314801] ? handle_bug+0x3c/0x80 -[ 82.314806] ? exc_invalid_op+0x13/0x60 -[ 82.314812] ? asm_exc_invalid_op+0x16/0x20 -[ 82.314845] ? _regulator_put+0x219/0x230 -[ 82.314857] regulator_bulk_free+0x39/0x60 -[ 82.314865] i2c_device_remove+0x22/0xb0 - -Add the missing setting of the callback so that the regulators -properly get turned off again when not used. - -Signed-off-by: Hans de Goede -Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com -Signed-off-by: Greg Kroah-Hartman -Signed-off-by: Sasha Levin ---- - drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -index 14b7d539fed6..e8da06020c81 100644 ---- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -@@ -164,6 +164,7 @@ static int lis3lv02d_i2c_probe(struct i2c_client *client, - lis3_dev.init = lis3_i2c_init; - lis3_dev.read = lis3_i2c_read; - lis3_dev.write = lis3_i2c_write; -+ lis3_dev.reg_ctrl = lis3_reg_ctrl; - lis3_dev.irq = client->irq; - lis3_dev.ac = lis3lv02d_axis_map; - lis3_dev.pm_dev = &client->dev; --- -2.43.0 - diff --git a/queue-4.19/series b/queue-4.19/series index e45f650066f..5c42e693f3d 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -120,7 +120,6 @@ um-net-fix-return-type-of-uml_net_start_xmit.patch mfd-ti_am335x_tscadc-fix-ti-soc-dependencies.patch pci-only-override-amd-usb-controller-if-required.patch usb-hub-replace-hardcoded-quirk-value-with-bit-macro.patch -misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch libsubcmd-fix-memory-leak-in-uniq.patch virtio_net-fix-d-directive-writing-between-1-and-11-.patch blk-mq-fix-io-hang-from-sbitmap-wakeup-race.patch diff --git a/queue-5.10/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch b/queue-5.10/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch deleted file mode 100644 index f30c980ec31..00000000000 --- a/queue-5.10/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 1726aaef9a92ea90ffdf3087d9b6682eed7ab44c Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Sun, 24 Dec 2023 19:34:02 +0100 -Subject: misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback - -From: Hans de Goede - -[ Upstream commit b1b9f7a494400c0c39f8cd83de3aaa6111c55087 ] - -The lis3lv02d_i2c driver was missing a line to set the lis3_dev's -reg_ctrl callback. - -lis3_reg_ctrl(on) is called from the init callback, but due to -the missing reg_ctrl callback the regulators where never turned off -again leading to the following oops/backtrace when detaching the driver: - -[ 82.313527] ------------[ cut here ]------------ -[ 82.313546] WARNING: CPU: 1 PID: 1724 at drivers/regulator/core.c:2396 _regulator_put+0x219/0x230 -... -[ 82.313695] RIP: 0010:_regulator_put+0x219/0x230 -... -[ 82.314767] Call Trace: -[ 82.314770] -[ 82.314772] ? _regulator_put+0x219/0x230 -[ 82.314777] ? __warn+0x81/0x170 -[ 82.314784] ? _regulator_put+0x219/0x230 -[ 82.314791] ? report_bug+0x18d/0x1c0 -[ 82.314801] ? handle_bug+0x3c/0x80 -[ 82.314806] ? exc_invalid_op+0x13/0x60 -[ 82.314812] ? asm_exc_invalid_op+0x16/0x20 -[ 82.314845] ? _regulator_put+0x219/0x230 -[ 82.314857] regulator_bulk_free+0x39/0x60 -[ 82.314865] i2c_device_remove+0x22/0xb0 - -Add the missing setting of the callback so that the regulators -properly get turned off again when not used. - -Signed-off-by: Hans de Goede -Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com -Signed-off-by: Greg Kroah-Hartman -Signed-off-by: Sasha Levin ---- - drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -index 52555d2e824b..ab1db760ba4e 100644 ---- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -@@ -151,6 +151,7 @@ static int lis3lv02d_i2c_probe(struct i2c_client *client, - lis3_dev.init = lis3_i2c_init; - lis3_dev.read = lis3_i2c_read; - lis3_dev.write = lis3_i2c_write; -+ lis3_dev.reg_ctrl = lis3_reg_ctrl; - lis3_dev.irq = client->irq; - lis3_dev.ac = lis3lv02d_axis_map; - lis3_dev.pm_dev = &client->dev; --- -2.43.0 - diff --git a/queue-5.10/series b/queue-5.10/series index 30d8a76aa1a..019ce614e72 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -208,7 +208,6 @@ usb-hub-replace-hardcoded-quirk-value-with-bit-macro.patch tty-allow-tiocslcktrmios-with-cap_checkpoint_restore.patch fs-kernfs-dir-obey-s_isgid.patch pci-aer-decode-requester-id-when-no-error-info-found.patch -misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch libsubcmd-fix-memory-leak-in-uniq.patch virtio_net-fix-d-directive-writing-between-1-and-11-.patch blk-mq-fix-io-hang-from-sbitmap-wakeup-race.patch diff --git a/queue-5.15/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch b/queue-5.15/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch deleted file mode 100644 index 023843e14b9..00000000000 --- a/queue-5.15/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 0b6785ac07a35cdd68f6b77e56d94723daf7c03b Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Sun, 24 Dec 2023 19:34:02 +0100 -Subject: misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback - -From: Hans de Goede - -[ Upstream commit b1b9f7a494400c0c39f8cd83de3aaa6111c55087 ] - -The lis3lv02d_i2c driver was missing a line to set the lis3_dev's -reg_ctrl callback. - -lis3_reg_ctrl(on) is called from the init callback, but due to -the missing reg_ctrl callback the regulators where never turned off -again leading to the following oops/backtrace when detaching the driver: - -[ 82.313527] ------------[ cut here ]------------ -[ 82.313546] WARNING: CPU: 1 PID: 1724 at drivers/regulator/core.c:2396 _regulator_put+0x219/0x230 -... -[ 82.313695] RIP: 0010:_regulator_put+0x219/0x230 -... -[ 82.314767] Call Trace: -[ 82.314770] -[ 82.314772] ? _regulator_put+0x219/0x230 -[ 82.314777] ? __warn+0x81/0x170 -[ 82.314784] ? _regulator_put+0x219/0x230 -[ 82.314791] ? report_bug+0x18d/0x1c0 -[ 82.314801] ? handle_bug+0x3c/0x80 -[ 82.314806] ? exc_invalid_op+0x13/0x60 -[ 82.314812] ? asm_exc_invalid_op+0x16/0x20 -[ 82.314845] ? _regulator_put+0x219/0x230 -[ 82.314857] regulator_bulk_free+0x39/0x60 -[ 82.314865] i2c_device_remove+0x22/0xb0 - -Add the missing setting of the callback so that the regulators -properly get turned off again when not used. - -Signed-off-by: Hans de Goede -Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com -Signed-off-by: Greg Kroah-Hartman -Signed-off-by: Sasha Levin ---- - drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -index 52555d2e824b..ab1db760ba4e 100644 ---- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -@@ -151,6 +151,7 @@ static int lis3lv02d_i2c_probe(struct i2c_client *client, - lis3_dev.init = lis3_i2c_init; - lis3_dev.read = lis3_i2c_read; - lis3_dev.write = lis3_i2c_write; -+ lis3_dev.reg_ctrl = lis3_reg_ctrl; - lis3_dev.irq = client->irq; - lis3_dev.ac = lis3lv02d_axis_map; - lis3_dev.pm_dev = &client->dev; --- -2.43.0 - diff --git a/queue-5.15/series b/queue-5.15/series index 9fd0d871255..eb44e738fc6 100644 --- a/queue-5.15/series +++ b/queue-5.15/series @@ -253,7 +253,6 @@ tty-allow-tiocslcktrmios-with-cap_checkpoint_restore.patch fs-kernfs-dir-obey-s_isgid.patch pci-fix-64gt-s-effective-data-rate-calculation.patch pci-aer-decode-requester-id-when-no-error-info-found.patch -misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch libsubcmd-fix-memory-leak-in-uniq.patch drm-amdkfd-fix-lock-dependency-warning.patch virtio_net-fix-d-directive-writing-between-1-and-11-.patch diff --git a/queue-5.4/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch b/queue-5.4/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch deleted file mode 100644 index 4af4b235ef4..00000000000 --- a/queue-5.4/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch +++ /dev/null @@ -1,60 +0,0 @@ -From ae0edb3b68b294a121fc8339be2749d4001b5453 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Sun, 24 Dec 2023 19:34:02 +0100 -Subject: misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback - -From: Hans de Goede - -[ Upstream commit b1b9f7a494400c0c39f8cd83de3aaa6111c55087 ] - -The lis3lv02d_i2c driver was missing a line to set the lis3_dev's -reg_ctrl callback. - -lis3_reg_ctrl(on) is called from the init callback, but due to -the missing reg_ctrl callback the regulators where never turned off -again leading to the following oops/backtrace when detaching the driver: - -[ 82.313527] ------------[ cut here ]------------ -[ 82.313546] WARNING: CPU: 1 PID: 1724 at drivers/regulator/core.c:2396 _regulator_put+0x219/0x230 -... -[ 82.313695] RIP: 0010:_regulator_put+0x219/0x230 -... -[ 82.314767] Call Trace: -[ 82.314770] -[ 82.314772] ? _regulator_put+0x219/0x230 -[ 82.314777] ? __warn+0x81/0x170 -[ 82.314784] ? _regulator_put+0x219/0x230 -[ 82.314791] ? report_bug+0x18d/0x1c0 -[ 82.314801] ? handle_bug+0x3c/0x80 -[ 82.314806] ? exc_invalid_op+0x13/0x60 -[ 82.314812] ? asm_exc_invalid_op+0x16/0x20 -[ 82.314845] ? _regulator_put+0x219/0x230 -[ 82.314857] regulator_bulk_free+0x39/0x60 -[ 82.314865] i2c_device_remove+0x22/0xb0 - -Add the missing setting of the callback so that the regulators -properly get turned off again when not used. - -Signed-off-by: Hans de Goede -Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com -Signed-off-by: Greg Kroah-Hartman -Signed-off-by: Sasha Levin ---- - drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -index 52555d2e824b..ab1db760ba4e 100644 ---- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c -@@ -151,6 +151,7 @@ static int lis3lv02d_i2c_probe(struct i2c_client *client, - lis3_dev.init = lis3_i2c_init; - lis3_dev.read = lis3_i2c_read; - lis3_dev.write = lis3_i2c_write; -+ lis3_dev.reg_ctrl = lis3_reg_ctrl; - lis3_dev.irq = client->irq; - lis3_dev.ac = lis3lv02d_axis_map; - lis3_dev.pm_dev = &client->dev; --- -2.43.0 - diff --git a/queue-5.4/series b/queue-5.4/series index ca13922059c..eb192f505b6 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -146,7 +146,6 @@ pci-switchtec-fix-stdev_release-crash-after-surprise.patch usb-hub-replace-hardcoded-quirk-value-with-bit-macro.patch fs-kernfs-dir-obey-s_isgid.patch pci-aer-decode-requester-id-when-no-error-info-found.patch -misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch libsubcmd-fix-memory-leak-in-uniq.patch virtio_net-fix-d-directive-writing-between-1-and-11-.patch blk-mq-fix-io-hang-from-sbitmap-wakeup-race.patch