OSDN Git Service

usb: gadget: aspeed: Check suspend/resume callback existence
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Jul 2019 05:05:34 +0000 (15:05 +1000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 12 Aug 2019 05:54:48 +0000 (08:54 +0300)
commit155940a16d688b5376f7c955a5f53259c6fe5689
tree568d53e8e4604820d50bef8faeefffe421629720
parentef9d34686bae33de38b0198a4c6c1a50daab31d7
usb: gadget: aspeed: Check suspend/resume callback existence

.. before calling them

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/aspeed-vhub/dev.c