Skip to content

Commit

Permalink
val: src: avs_mpam: Fix compile error
Browse files Browse the repository at this point in the history
Fixes a compile error with a misplaced bracket.

Fixes: 4b36750 ("SBSA 7.1 Changes")
Signed-off-by: Moritz Fischer <moritzf@google.com>
  • Loading branch information
mfischer committed Apr 18, 2023
1 parent 87c44ad commit 3bbdfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion val/src/avs_mpam.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ val_mpam_memory_mbwumon_read_count(uint32_t msc_index)
}
else {
// (44 bits)
if (BITFIELD_READ(MSMON_MBWU_L_NRDY, val_mmio_read64(base + REG_MSMON_MBWU_L) == 0))
if (BITFIELD_READ(MSMON_MBWU_L_NRDY, val_mmio_read64(base + REG_MSMON_MBWU_L)) == 0)
count = BITFIELD_READ(MSMON_MBWU_L_44BIT_VALUE,
val_mmio_read64(base + REG_MSMON_MBWU_L));
}
Expand Down

0 comments on commit 3bbdfcd

Please sign in to comment.