usb: gadget: dummy_hcd: add sg support
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 9 Jan 2012 18:30:50 +0000 (19:30 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 09:23:31 +0000 (11:23 +0200)
commit14fce33a960afbcf91ef97135903092c33f6d076
tree9ae7365616127565f9621941cfe70fda851628aa
parenta04ce20d9f5e9484ed3879e1290bd05933cbbe2a
usb: gadget: dummy_hcd: add sg support

This patch adds sg support to dummy_hcd. It seems that uas is not able
to work with a hcd which does not support sg only based transfers.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/dummy_hcd.c