Skip to content

Commit fcfa774

Browse files
jannaumarcan
authored andcommitted
mux: apple dp crossbar: Read UNK_TUNABLE before and after writing it
Makes traces easier to compare with macOS. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 9b7c172 commit fcfa774

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/mux/apple-display-crossbar.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ static int apple_dpxbar_probe(struct platform_device *pdev)
252252
if (IS_ERR(dpxbar->regs))
253253
return PTR_ERR(dpxbar->regs);
254254

255+
readl(dpxbar->regs + UNK_TUNABLE);
255256
writel(hw->tunable, dpxbar->regs + UNK_TUNABLE);
257+
readl(dpxbar->regs + UNK_TUNABLE);
256258

257259
for (unsigned int i = 0; i < MUX_MAX; ++i) {
258260
mux_chip->mux[i].states = hw->n_ufp;

0 commit comments

Comments
 (0)