diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-01-25 14:48:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-26 18:45:49 +0300 |
commit | 77bdaf39f3c8a10892bace06ed60bd063b731529 (patch) | |
tree | 65c03dbb4b1a1c317c6f5d479dd8c90608962958 /scripts/generate_rust_analyzer.py | |
parent | b6ab149654ef1fada0b37b379c04c475c2fdc675 (diff) | |
download | linux-77bdaf39f3c8a10892bace06ed60bd063b731529.tar.xz |
net: lan966x: Fix sleep in atomic context when updating MAC table
The function lan966x_mac_wait_for_completion is used to poll the status
of the MAC table using the function readx_poll_timeout. The problem with
this function is that is called also from atomic context. Therefore
update the function to use readx_poll_timeout_atomic.
Fixes: e18aba8941b40b ("net: lan966x: add mactable support")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions