diff options
author | Mark Brown <broonie@kernel.org> | 2025-04-23 12:43:27 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-23 12:43:27 +0100 |
commit | 382d4ee4455234b498f201c00bfc120dc38b78c3 (patch) | |
tree | 004c6db23c33623dd9ff5adaafe2e191748a1cbf /net/core/lock_debug.c | |
parent | 7762fdab23100514e5cb612331c96bd65126ada5 (diff) | |
parent | e8ac7336dd62f0443a675ed80b17f0f0e6846e20 (diff) |
regulator: max20086: Fixes chip id and enable gpio
Merge series from João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>:
I'm working on integrating a system with a MAX20086 and noticed these
small issues in the driver: the chip ID for MAX20086 is 0x30 and not
0x40. Also, in my use case, the enable pin is always enabled by
hardware, so the enable GPIO isn't needed. Without these changes, the
driver fails to probe.
Diffstat (limited to 'net/core/lock_debug.c')
-rw-r--r-- | net/core/lock_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/lock_debug.c b/net/core/lock_debug.c index b7f22dc92a6f..941e26c1343d 100644 --- a/net/core/lock_debug.c +++ b/net/core/lock_debug.c @@ -20,11 +20,11 @@ int netdev_debug_event(struct notifier_block *nb, unsigned long event, switch (cmd) { case NETDEV_REGISTER: case NETDEV_UP: + case NETDEV_CHANGE: netdev_ops_assert_locked(dev); fallthrough; case NETDEV_DOWN: case NETDEV_REBOOT: - case NETDEV_CHANGE: case NETDEV_UNREGISTER: case NETDEV_CHANGEMTU: case NETDEV_CHANGEADDR: |