usb: chipidea: otg: gadget module load and unload support
authorLi Jun <B47624@freescale.com>
Fri, 12 Dec 2014 01:11:42 +0000 (09:11 +0800)
committerPeter Chen <peter.chen@freescale.com>
Wed, 18 Nov 2015 06:07:54 +0000 (14:07 +0800)
commit85da852df66e5e0d3aba761b0fece7c958ff0685
tree2cd63bde7eaa5cf31278aee62a9a572ed27cb841
parent251b3c8b57481bcecd3f753108e36e7389ce12ac
usb: chipidea: otg: gadget module load and unload support

This patch is to support load and unload gadget driver in full OTG mode.

Signed-off-by: Li Jun <jun.li@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Tested-by: Jiada Wang <jiada_wang@mentor.com>
Cc: <stable@vger.kernel.org> #v4.0+
drivers/usb/chipidea/udc.c