]> git.baikalelectronics.ru Git - kernel.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)
commit7e3a1161a6a096ccdb36d7597ae94b2478422f83
treed94102caf515a024cdd7a741cd0e5e539f6b9472
parent56d8069e79640af9a2cd2a4975e719aa697c1d16
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