Skip to content

Commit f731f94

Browse files
committed
drm/rockchip/rk628: dsi: Fix volatile register offset
Change-Id: Icc6775a9ff4b4bf267866a242b7427f8b228a23c Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
1 parent de3a8c4 commit f731f94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/rockchip/rk628/rk628_dsi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,8 @@ static const struct regmap_config testif_regmap_config = {
12331233

12341234
static bool rk628_dsi_register_volatile(struct device *dev, unsigned int reg)
12351235
{
1236+
reg &= 0xffff;
1237+
12361238
switch (reg) {
12371239
case DSI_GEN_HDR:
12381240
case DSI_GEN_PLD_DATA:

0 commit comments

Comments
 (0)