aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorJohannes Zink <[email protected]>2023-10-18 07:09:54 +0000
committerPaolo Abeni <[email protected]>2023-10-19 11:01:33 +0000
commit7e62ac24b57a3800959a47bb2099e063f7bc01f2 (patch)
treee0bbc87ce950ebd2fcd95485d89264642cdae177 /net/unix/unix_bpf.c
parentnet: stmmac: simplify debug message on stmmac_enable() (diff)
downloadkernel-7e62ac24b57a3800959a47bb2099e063f7bc01f2.tar.gz
kernel-7e62ac24b57a3800959a47bb2099e063f7bc01f2.zip
net: stmmac: use correct PPS capture input index
The stmmac supports up to 4 auxiliary snapshots that can be enabled by setting the appropriate bits in the PTP_ACR bitfield. Previously as of commit f4da56529da6 ("net: stmmac: Add support for external trigger timestamping") instead of setting the bits, a fixed value was written to this bitfield instead of passing the appropriate bitmask. Now the correct bit is set according to the ptp_clock_request.extts_index passed as a parameter to stmmac_enable(). Signed-off-by: Johannes Zink <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions