Skip to content

Commit

Permalink
fix CID-468941 (#258)
Browse files Browse the repository at this point in the history
Signed-off-by: Min Ma <min.ma@amd.com>
  • Loading branch information
mamin506 authored Sep 16, 2024
1 parent ca8ecbf commit 2ee0fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/amdxdna/aie2_smu.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int aie2_smu_set_dpm_level(struct amdxdna_dev_hdl *ndev, u32 dpm_level)
{
int ret;

if (aie2_control_flags && BIT(AIE2_BIT_BYPASS_SET_FREQ)) {
if (aie2_control_flags & BIT(AIE2_BIT_BYPASS_SET_FREQ)) {
XDNA_DBG(ndev->xdna, "Bypassed set dpm level");
return 0;
}
Expand Down

0 comments on commit 2ee0fd6

Please sign in to comment.