diff options
| author | Ziqi Chen <[email protected]> | 2025-05-22 02:15:35 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-05-28 02:06:40 +0000 |
| commit | 663d0c19f3acc0d697f623d34b8eb3b438bf2bda (patch) | |
| tree | 65d0b4adc87eab5f9c8ada20ff69df560b2fca28 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | scsi: aacraid: Remove useless code (diff) | |
| download | kernel-663d0c19f3acc0d697f623d34b8eb3b438bf2bda.tar.gz kernel-663d0c19f3acc0d697f623d34b8eb3b438bf2bda.zip | |
scsi: ufs: qcom: Check gear against max gear in vop freq_to_gear()
The vop freq_to_gear() may return a gear greater than the negotiated max
gear. Return the negotiated max gear if the mapped gear is greater.
Fixes: c02fe9e222d1 ("scsi: ufs: qcom: Implement the freq_to_gear_speed() vop")
Signed-off-by: Ziqi Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Neil Armstrong <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Tested-by: Neil Armstrong <[email protected]>
Reviewed-by: Bean Huo <[email protected]>
Tested-by: Loïc Minier <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
