xtensa: implement ndelay
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 10 Jan 2014 08:03:35 +0000 (12:03 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 14 Jan 2014 20:28:11 +0000 (00:28 +0400)
commit9ed82c6866e2ab671935a75ea454047e8bddb177
tree821e8d51935476350c2c5ab308931c7efc00676e
parent58f60c222e8d4503a4be654cbd6d4e190dc1a7d8
xtensa: implement ndelay

Proper ndelay implementation allows for faster IO rate with drivers that
use ndelay to access their device registers, as otherwise ndelay is
emulated with udelay.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/delay.h