diff options
| author | Johannes Zink <[email protected]> | 2023-10-18 07:09:56 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-10-19 11:01:33 +0000 |
| commit | 7d3077482578fcc6eef6faeef7b8174fd32b7619 (patch) | |
| tree | 77545588a0efce69eca32dbf5f151fbeb507dcc3 /net/unix/unix_bpf.c | |
| parent | net: stmmac: intel: remove unnecessary field struct plat_stmmacenet_data::ext... (diff) | |
| download | kernel-7d3077482578fcc6eef6faeef7b8174fd32b7619.tar.gz kernel-7d3077482578fcc6eef6faeef7b8174fd32b7619.zip | |
net: stmmac: ptp: stmmac_enable(): move change of plat->flags into mutex
This is a preparation patch. The next patch will check if an external TS
is active and return with an error. So we have to move the change of the
plat->flags that tracks if external timestamping is enabled after that
check.
Prepare for this change and move the plat->flags change into the mutex
and the if (on).
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
