Thread (8 messages) 8 messages, 4 authors, 2021-07-26

Re: Aw: Re: [PATCH] soc: mediatek: mmsys: fix HDMI output on mt7623/bananapi-r2

From: Dafna Hirschfeld <hidden>
Date: 2021-07-12 17:32:44
Also in: dri-devel, linux-mediatek, lkml

Hi,

On 12.07.21 19:16, Frank Wunderlich wrote:
Hi,

it turns out that problem is the read+or of the new value

i reverted my patch and changed

reg = readl_relaxed(mmsys->regs + routes[i].addr) | routes[i].val;
writel_relaxed(reg, mmsys->regs + routes[i].addr);

to

writel_relaxed(routes[i].val, mmsys->regs + routes[i].addr);

and it works too, but maybe it breaks other platforms
Interesting, I can test if it fix that similar bug on mt8173 when resume from suspend.

Thanks,
Dafna
regards Frank
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help