diff options
author | Kyle Swenson <kyle.swenson@est.tech> | 2024-07-31 15:42:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-03 12:17:06 +0100 |
commit | c4b28e5699d2a789fc9464e7ce89f2a1e9d5085d (patch) | |
tree | 8bae52eb1c347d5bbe591398a0b174a12dc0a2a4 /net/l2tp | |
parent | 8d5be2c4f4477915fee079572665198e70246b69 (diff) | |
download | lwn-c4b28e5699d2a789fc9464e7ce89f2a1e9d5085d.tar.gz lwn-c4b28e5699d2a789fc9464e7ce89f2a1e9d5085d.zip |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions