summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/fsl_usb2_udc.h
diff options
context:
space:
mode:
authorAlok Chauhan <alokc@nvidia.com>2012-03-07 13:48:41 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-04-05 09:01:52 -0700
commite11a9f34dcdfb33c578ecffc6e21d857b5b773b6 (patch)
treea3fb670e050dde304b7a7b2fec3f08125926cf22 /drivers/usb/gadget/fsl_usb2_udc.h
parentd4e9b6e5ef68b51610dbe2d7ccfde25f296373b5 (diff)
usb: gadget: fsl_udc: boost cpu rate for transaction
Boost CPU rate floor ( based upon TEGRA_GADGET_BOOST_CPU_FREQ ) before any transaction starts and remove the boost once the transaction completes. Bug 923594 Signed-off-by: Alok Chauhan <alokc@nvidia.com> Reviewed-on: http://git-master/r/88247 (cherry picked from commit cfb0c2d7bc7c00962c97c895958e2e0a13a14cfd) Change-Id: I6c7524dbf90d6c3c8840ee8cd88e896dde6aa041 Reviewed-on: http://git-master/r/94173 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/usb/gadget/fsl_usb2_udc.h')
-rw-r--r--drivers/usb/gadget/fsl_usb2_udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/fsl_usb2_udc.h b/drivers/usb/gadget/fsl_usb2_udc.h
index 922092f1afdd..60055e77bf9a 100644
--- a/drivers/usb/gadget/fsl_usb2_udc.h
+++ b/drivers/usb/gadget/fsl_usb2_udc.h
@@ -641,6 +641,7 @@ struct fsl_udc {
struct regulator *vbus_regulator; /* regulator for drawing VBUS */
u32 current_limit;
struct work_struct charger_work; /* work for settting regulator current limit */
+ struct work_struct boost_cpufreq_work; /* work for boosting cpu frequency */
};
/*-------------------------------------------------------------------------*/