mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
soc: rockchip: pvtm: fix wrong bit offset of ring sel for RK1808 SoCs
Change-Id: I476a9c77cf23b972eee6846e21eb1a3c6f263cca Signed-off-by: Liang Chen <cl@rock-chips.com>
This commit is contained in:
@@ -265,10 +265,8 @@ static void px30_pvtm_set_ring_sel(struct rockchip_pvtm *pvtm,
|
||||
static void rk1808_pvtm_set_ring_sel(struct rockchip_pvtm *pvtm,
|
||||
unsigned int sub_ch)
|
||||
{
|
||||
unsigned int ch = pvtm->channel->ch;
|
||||
|
||||
regmap_write(pvtm->grf, pvtm->con,
|
||||
wr_mask_bit(sub_ch, (ch * 0x4 + 0x2), 0x7));
|
||||
wr_mask_bit(sub_ch, 0x2, 0x7));
|
||||
}
|
||||
|
||||
static void rk3399_pvtm_set_ring_sel(struct rockchip_pvtm *pvtm,
|
||||
|
||||
Reference in New Issue
Block a user