UPSTREAM: usb: dwc2: host: Split code out to make dwc2_do_reserve()
authorDouglas Anderson <dianders@chromium.org>
Fri, 29 Jan 2016 02:20:06 +0000 (18:20 -0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 10:48:19 +0000 (18:48 +0800)
commit9480e38b39692de5071682619c5cba50ebd6cf31
treee01868a8ff611a87d357cb316339c153a57cd813
parent76e44a44aa723d0475e25f5d69e0dc51bead9761
UPSTREAM: usb: dwc2: host: Split code out to make dwc2_do_reserve()

This no-op change splits code out of dwc2_schedule_periodic() into a
dwc2_do_reserve() function.  This makes it a little easier to follow the
logic.

Change-Id: I24cd8d2718b150fdc0b4428e645c545b1d8dbeda
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 2d3f139810cd5d491d8dc8c3332c9d32b9b8e1f1)
drivers/usb/dwc2/hcd_queue.c