]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd00b41428042e72d9dc2557d9147434a4e3d631f
tree776137c63e669916ac083bb45285237daf42760f
parentb203d0a2e32dd28e87780078f0789322862e4da8
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