Skip to content
Commit c2cf351e authored by Sowjanya Komatineni's avatar Sowjanya Komatineni Committed by Linus Walleij
Browse files

pinctrl: tegra: Fix write barrier placement in pmx_writel



pmx_writel uses writel which inserts write barrier before the
register write.

This patch has fix to replace writel with writel_relaxed followed
by a readback and memory barrier to ensure write operation is
completed for successful pinctrl change.

Acked-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarSowjanya Komatineni <skomatineni@nvidia.com>
Link: https://lore.kernel.org/r/1565984527-5272-2-git-send-email-skomatineni@nvidia.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6f265e5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment