]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2024 06:57:32 +0000 (07:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2024 06:57:32 +0000 (07:57 +0100)
queue-4.19/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch [deleted file]
queue-4.19/series
queue-5.10/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch [deleted file]
queue-5.10/series
queue-5.15/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch [deleted file]
queue-5.15/series
queue-5.4/misc-lis3lv02d_i2c-add-missing-setting-of-the-reg_ct.patch [deleted file]
queue-5.4/series

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 (file)
index 36bafc8..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-From 05efee78b940387654e63893d06f73f265440bf2 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-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 <hdegoede@redhat.com>
-
-[ 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]  <TASK>
-[   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 <hdegoede@redhat.com>
-Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- 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
-
index e45f650066fdc406089d9f384728cb397a25b1dd..5c42e693f3dace790964265abface9e64ca49728 100644 (file)
@@ -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 (file)
index f30c980..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-From 1726aaef9a92ea90ffdf3087d9b6682eed7ab44c Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-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 <hdegoede@redhat.com>
-
-[ 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]  <TASK>
-[   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 <hdegoede@redhat.com>
-Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- 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
-
index 30d8a76aa1a0d7ec802e21d915de4d4cc1df12e8..019ce614e7288c5f3585fc2b09bdb4d501b17b0f 100644 (file)
@@ -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 (file)
index 023843e..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-From 0b6785ac07a35cdd68f6b77e56d94723daf7c03b Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-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 <hdegoede@redhat.com>
-
-[ 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]  <TASK>
-[   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 <hdegoede@redhat.com>
-Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- 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
-
index 9fd0d871255dae2930c404de32620781812b4831..eb44e738fc6258c0b243fab57e274060331548fd 100644 (file)
@@ -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 (file)
index 4af4b23..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-From ae0edb3b68b294a121fc8339be2749d4001b5453 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-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 <hdegoede@redhat.com>
-
-[ 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]  <TASK>
-[   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 <hdegoede@redhat.com>
-Link: https://lore.kernel.org/r/20231224183402.95640-1-hdegoede@redhat.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- 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
-
index ca13922059c002547b953eeac368bf6b4eb05c3a..eb192f505b62d4be9dbce81a5d42f1aec5cd1ace 100644 (file)
@@ -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