usb: renesas_usbhs: mod_host: fixup usbhsh_ureq_free() timing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 10 Dec 2012 05:06:37 +0000 (21:06 -0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:44 +0000 (11:58 +0200)
usbhsh_ureq_free() free ureq which includes ubshs_pkt.
But current driver used usbhs_pkt after freed ureq.
This patch fixup this bug.
Special thanks to Chen

Reported-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found