Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1b68865 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarGuan Xuetao <gxt@mprc.pku.edu.cn>
Tested-by: default avatarQin Rui <qinrui@mprc.pku.edu.cn>
parent 60ce7028
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment