usb: dwc2: remove control_data_toggle[]
authorStephen Warren <swarren@wwwdotorg.org>
Sun, 8 Mar 2015 05:48:54 +0000 (22:48 -0700)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:47:58 +0000 (05:47 +0200)
commit282685e07e4f5dccc70c6bfd3ce3603861e94aaa
tree3d6cba29126235b139acf9276423987610c64115
parentee837554011a4f0db6f246ee67f7c1d1161694e9
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