diff options
author | Kyle Swenson <kyle.swenson@est.tech> | 2024-07-31 15:42:14 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-02 16:34:06 -0700 |
commit | 89108cb5c28527c1882df2987394e5c261a1f4aa (patch) | |
tree | 5fa10de113676964b82f38e07849580d7514c80b /scripts/generate_rust_analyzer.py | |
parent | 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18 (diff) |
net: pse-pd: tps23881: Fix the device ID check
The DEVID register contains two pieces of information: the device ID in
the upper nibble, and the silicon revision number in the lower nibble.
The driver should work fine with any silicon revision, so let's mask
that out in the device ID check.
Fixes: 20e6d190ffe1 ("net: pse-pd: Add TI TPS23881 PSE controller driver")
Signed-off-by: Kyle Swenson <kyle.swenson@est.tech>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20240731154152.4020668-1-kyle.swenson@est.tech
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions