commit | bd49420c669833470b98188d18c17b9e4cf3b77c | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Mon Aug 28 17:46:32 2017 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Tue Aug 29 09:47:28 2017 +0200 |
tree | 887f0d89f68d5214418fedc29135c5d6a94afdc4 | |
parent | 004cbb691db2e2408dcd63db9da70f2c97f8bb0b [diff] |
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: Anatolij Gustschin <agust@denx.de> Acked-by: Stefano Babic <sbabic@denx.de>