summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/spcp8x5.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-04-26 00:21:35 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-30 00:24:31 (GMT)
commit409ba9e7c023bdbfd2ecab960532523124de5c81 (patch)
tree08d53974e920ba7b49301286bf4b6eccfac2be30 /drivers/usb/serial/spcp8x5.c
parent45e13e6e0aa954af2d4779a07262f4c12d6f032f (diff)
downloadlinux-fsl-qoriq-409ba9e7c023bdbfd2ecab960532523124de5c81.tar.xz
usb: renesas_usbhs: don't re-allocation pipe buffer
Because pipe buffer allocation is very picky and difficult, current renesas_usbhs driver is not caring pipe re-allocation. In this situation, driver will create new pipe without caring old pipe if "usbhsg_ep_enable" is called after "usbhsg_ep_disable" on current driver. This mean the limited pipe and buffer will be used as waste. But it is possible to re-use same buffer to same pipe. By this patch, driver will initialize pipe when it detected new connection or new gadget, and doesn't try re-allocation for same pipe in above case. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/spcp8x5.c')
0 files changed, 0 insertions, 0 deletions