usb: gadget: configfs: add suspend/resume
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Wed, 8 Oct 2014 10:03:36 +0000 (12:03 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:00:59 +0000 (10:00 -0600)
commit3a571870856f63064a3a45d7ffa2526d597b7fbe
tree7472ce5bc174da9cc758433d374a4feeee087824
parent60b388befb42d1e90a8594cdcfe80dbf57542ac0
usb: gadget: configfs: add suspend/resume

USB gadgets composed with configfs lack suspend and resume
methods. This patch uses composite_suspend()/composite_resume()
the same way e.g. composite_setup() or composite_disconnect()
are used in a configfs-based gadget.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c
drivers/usb/gadget/configfs.c
include/linux/usb/composite.h