commit | d1b6886502160eb771aefe21c1f891597138ddfe | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@avionic-design.de> | Fri Sep 14 16:14:25 2012 +0800 |
committer | Thierry Reding <thierry.reding@avionic-design.de> | Fri Oct 05 20:56:39 2012 +0200 |
tree | eee4f1aade9c3b34878ba849301a196532a9fdd0 | |
parent | 60ce70285b4d3b933eea15e494a9b35fe85b19b7 [diff] |
unicore32: pwm: Properly remap memory-mapped registers Instead of writing to the timer controller registers by dereferencing a pointer to the memory location, properly remap the memory region with a call to ioremap_nocache() and access the registers using writel(). Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Tested-by: Qin Rui <qinrui@mprc.pku.edu.cn>