Skip to content
Commit 96b93f08 authored by Lucas Tanure's avatar Lucas Tanure Committed by Jakub Kicinski
Browse files

ptp: lan743x: Use spin_lock instead of spin_lock_bh



lan743x_ptp_request_tx_timestamp uses spin_lock_bh, but it is
only called from lan743x_tx_xmit_frame where all IRQs are
already disabled.

This fixes the "IRQs not enabled as expected" warning.

Signed-off-by: default avatarLucas Tanure <tanure@linux.com>
Link: https://lore.kernel.org/r/20240128101849.107298-1-tanure@linux.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e7f8df0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment