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)
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

Simple merge