]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: hid: mirror init operations in module cleanup
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 6 Nov 2014 10:11:58 +0000 (11:11 +0100)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Nov 2014 22:18:17 +0000 (16:18 -0600)
commit43a5999e7c86c58d1838024c17fa893b0ec7a694
treef439b7c89f9f724c44cb17118f3e0297c54edeb3
parent9765d17987ef48976327f5f670cee22c13e838dc
usb: gadget: hid: mirror init operations in module cleanup

So far platform driver has been unregistered first,
so just after that the usb composite is still available,
but there is no hid data any more.

Reverse the order so that first the usb composite becomes
unavailable and second the hid data goes away.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/legacy/hid.c