Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
This probably means that your code which prints '\n' is wrong. For example it might go to far/deep on the screen. Or other miscalculation.
Can you tell us perhaps where the file with that code is. I looked into your drivers dir and couldn't find it (but that may be _my_ mistake!).
EDIT: Found it! I first looked in hal not drivers!
EDIT2: After looking at the source I can't find out if the problem is in the user space library or in the kernel. Doesn't it seem a good idea to debug here?