usb: xilinx: Add suspend resume support
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 18 Nov 2021 12:01:43 +0000 (17:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Nov 2021 13:12:40 +0000 (14:12 +0100)
commite4ac5a40cec2ac0dcc050262ec9d97a8efa06b0b
treea8e2e7c26b72bb007f01a3911b477510b317a878
parent4616dddcfaf75cfbfbff7ce8a468038c697444ce
usb: xilinx: Add suspend resume support

Add suspend resume support. In the suspend udc is suspended
and it is set to ready at resume for it to be functional.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20211118120143.1079-1-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/udc-xilinx.c