diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2024-12-20 20:04:00 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 21:40:34 +0300 |
commit | 75221e96101fa93390d3db5c23e026f5e3565d9b (patch) | |
tree | 08981a3ed6f5e29aec7b382f09a9bec5eef5c8c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4a4d38ace1fb0586bffd2aab03caaa05d6011748 (diff) | |
download | linux-75221e96101fa93390d3db5c23e026f5e3565d9b.tar.xz |
net: pse-pd: tps23881: Fix power on/off issue
An issue was present in the initial driver implementation. The driver
read the power status of all channels before toggling the bit of the
desired one. Using the power status register as a base value introduced
a problem, because only the bit corresponding to the concerned channel ID
should be set in the write-only power enable register. This led to cases
where disabling power for one channel also powered off other channels.
This patch removes the power status read and ensures the value is
limited to the bit matching the channel index of the PI.
Fixes: 20e6d190ffe1 ("net: pse-pd: Add TI TPS23881 PSE controller driver")
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20241220170400.291705-1-kory.maincent@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions