]> git.karo-electronics.de Git - linux-beck.git/commit
usb: musb: host: Handle highmem in PIO mode
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Tue, 7 Aug 2012 09:16:20 +0000 (14:46 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 7 Aug 2012 11:27:18 +0000 (14:27 +0300)
commit8e8a55165469c99af0c24a276d997f9473dc89ab
treed94102caf515a024cdd7a741cd0e5e539f6b9472
parentdecadacbd7259b1dce0aeb9cb4468432edf88fb4
usb: musb: host: Handle highmem in PIO mode

In case of USB bulk transfer, when himem page
is received, the usb_sg_init function sets the
urb transfer buffer to NULL. When such URB
transfer is handled, kernel crashes in PIO mode.
Handle this by mapping the highmem buffer in PIO mode.

Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c
drivers/usb/musb/musb_host.h