diff options
author | Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> | 2013-04-24 08:38:48 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-28 21:17:21 +0200 |
commit | ed74df12dc3e07a37d99aab60211496e871488a0 (patch) | |
tree | a3120bee76e30698158ece47090e16efc37ad236 /drivers/usb/musb/musb_io.h | |
parent | usb: dwc3: gadget: free trb pool only from epnum 2 (diff) | |
download | linux-ed74df12dc3e07a37d99aab60211496e871488a0.tar.xz linux-ed74df12dc3e07a37d99aab60211496e871488a0.zip |
usb: musb: make use_sg flag URB specific
Since highmem PIO URB handling was introduced in:
8e8a551 usb: musb: host: Handle highmem in PIO mode
when a URB is being handled it may happen that the static use_sg flag
was set by a previous URB with buffer in highmem. This leads to error
in handling the present URB.
Fix this by making the use_sg flag URB specific.
Cc: stable <stable@vger.kernel.org> # 3.7+
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_io.h')
0 files changed, 0 insertions, 0 deletions