gpio/starfive: redundant readl() call
In starfive_gpio_direction_output() readl() is called twice to read the gpio direction register. The result of the first read is discarded. Remove the redundant read. Fixes: 908be1b8 ("gpio/starfive: add gpio driver and support gpio reset") Signed-off-by:Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Anup Patel <anup@brainfault.org>
parent
f831b933
Please register or sign in to comment