aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2025-03-12 22:15:53 +0000
committerPaolo Abeni <[email protected]>2025-03-20 07:50:03 +0000
commitaf2b428f7992c07b0767c9a3c341b54d9069542e (patch)
treeef2278ace2180caeb7ea334887d16030619fd0f1 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentnet: lan743x: reject unsupported external timestamp requests (diff)
downloadkernel-af2b428f7992c07b0767c9a3c341b54d9069542e.tar.gz
kernel-af2b428f7992c07b0767c9a3c341b54d9069542e.zip
broadcom: fix supported flag check in periodic output function
In bcm_ptp_perout_locked, the driver rejects requests which have PTP_PEROUT_PHASE set. This appears to be an attempt to reject any unsupported flags. Unfortunately, this only checks one flag, but does not protect against PTP_PEROUT_ONE_SHOT, or any future flags which may be added. Fix the check to ensure that no flag other than the supported PTP_PEROUT_DUTY_CYCLE is set. Fixes: 7bfe91efd525 ("net: phy: Add support for 1PPS out and external timestamps") Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/20250312-jk-net-fixes-supported-extts-flags-v2-4-ea930ba82459@intel.com Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions