mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 23:06:15 +00:00
soc: ti: k3-navss-ringacc: Fix reconfiguration of qmode API
Function "k3_ringacc_ring_reconfig_qmode_raw()" should reset qmode to requested value and should not update other fields in ring configuration register. Signed-off-by: Chintan Vankar <c-vankar@ti.com> Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
parent
963c13d133
commit
eedfbb86c2
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ static void k3_ringacc_ring_reconfig_qmode_raw(struct k3_nav_ring *ring, enum k3
|
|||
u32 val;
|
||||
|
||||
val = readl(&ring->cfg->size);
|
||||
val &= KNAV_RINGACC_CFG_RING_SIZE_QMODE_MASK;
|
||||
val &= ~KNAV_RINGACC_CFG_RING_SIZE_QMODE_MASK;
|
||||
val |= mode << KNAV_RINGACC_CFG_RING_SIZE_QMODE_SHIFT;
|
||||
writel(val, &ring->cfg->size);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue