]> git.baikalelectronics.ru Git - kernel.git/commit
usb: bdc: Add support for suspend/resume
authorAl Cooper <alcooperx@gmail.com>
Wed, 19 Jul 2017 19:11:45 +0000 (15:11 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 Aug 2017 11:18:58 +0000 (14:18 +0300)
commitc66107fd2be681974f31a7fe34bd88ad034e7c21
tree11c463e88339ddb43596e4bbc12752173363873d
parent3d764718dda329dec15525e88330ab255cddfac0
usb: bdc: Add support for suspend/resume

Based on a previous commit by Danesh Petigara <dpetigara@broadcom.com>
that added resume to solve the following problem:
"The BDC driver will fail after resuming from S3 suspend and this
will cause any upper layer gadget driver to fail."
This commit also adds support for suspend and manages the clock during
suspend/resume.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/bdc/bdc.h
drivers/usb/gadget/udc/bdc/bdc_core.c