Skip to content

Commit 721b7f5

Browse files
akhilpo-qcomlumag
authored andcommitted
drm/msm/a6xx: Add a comment to acd_probe()
It is not obvious why we can skip error checking of dev_pm_opp_find_freq_exact() API. Add a comment explaining it. Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/672263/ Link: https://lore.kernel.org/r/20250902-assorted-sept-1-v1-4-f3ec9baed513@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 3f17991 commit 721b7f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/msm/adreno/a6xx_gmu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,6 +1731,7 @@ static int a6xx_gmu_acd_probe(struct a6xx_gmu *gmu)
17311731
u32 val;
17321732

17331733
freq = gmu->gpu_freqs[i];
1734+
/* This is unlikely to fail because we are passing back a known freq */
17341735
opp = dev_pm_opp_find_freq_exact(&gpu->pdev->dev, freq, true);
17351736
np = dev_pm_opp_get_of_node(opp);
17361737

0 commit comments

Comments
 (0)