imx: timer: don't clear the GPT control register multiple times
There is no need to clear the control register 100 times in a loop, a single zero write clears the register. I didn't find any justification why clearing this register in a loop is needed (no info in i.MX6 errata or GPT timer linux driver, linux driver uses single write to clear this control register). Signed-off-by: NAnatolij Gustschin <agust@denx.de> Acked-by: NStefano Babic <sbabic@denx.de>
Showing
想要评论请 注册 或 登录