diff options
| author | Jacob Keller <[email protected]> | 2025-03-12 22:15:54 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-20 07:50:03 +0000 |
| commit | 8dcfc910a81d8b53f59f8b23211e81f2a91f84f9 (patch) | |
| tree | 089f3f3c79486feb09d3cf300c8794634217ae34 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | broadcom: fix supported flag check in periodic output function (diff) | |
| download | kernel-8dcfc910a81d8b53f59f8b23211e81f2a91f84f9.tar.gz kernel-8dcfc910a81d8b53f59f8b23211e81f2a91f84f9.zip | |
ptp: ocp: reject unsupported periodic output flags
The ptp_ocp_signal_from_perout() function supports PTP_PEROUT_DUTY_CYCLE
and PTP_PEROUT_PHASE. It does not support PTP_PEROUT_ONE_SHOT, but does not
reject a request with such an unsupported flag.
Add the appropriate check to ensure that unsupported requests are rejected
both for PTP_PEROUT_ONE_SHOT as well as any future flags.
Fixes: 1aa66a3a135a ("ptp: ocp: Program the signal generators via PTP_CLK_REQ_PEROUT")
Reviewed-by: Vadim Fedorenko <[email protected]>
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-5-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
