]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2/gadget: disable clock when it's not needed
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 9 Sep 2014 08:44:57 +0000 (10:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:16:39 +0000 (16:16 -0700)
commit3f388dc69e7c5721c3b0a0b3d59d36243e64e932
tree776137c63e669916ac083bb45285237daf42760f
parenteb97bb0bc7b0e5f3661681b306eb07e2000d066c
usb: dwc2/gadget: disable clock when it's not needed

When device is stopped or suspended clock is not needed so we
can disable it for this time.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c