]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: dwc2: remove control_data_toggle[]
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 8 Mar 2015 05:48:54 +0000 (22:48 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:07 +0000 (21:47 +0200)
commit2bc50b8d9ff931ea01e7359318a8f84832642332
tree8f6b3d91938e104423eb21b4073e0ec2736ca52d
parentd794096487fc9fcb0203e168ad263fe8218cfdf6
usb: dwc2: remove control_data_toggle[]

The control data toggle resets to DATA1 at the start of the data phase
of every setup transaction. We don't need a global variable to store
the value; we can just store it on the stack.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
drivers/usb/host/dwc2.c