Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1237732

Re: [PATCH v2] usb: dwc2: reset dwc2 core before dwc2_get_hwparams()

From Doug Anderson <dianders@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] usb: dwc2: reset dwc2 core before dwc2_get_hwparams()
Date 2015-10-01 23:00 +0200
Message-ID <qeT7l-7th-27@gated-at.bofh.it> (permalink)
References <pYLGO-2oQ-25@gated-at.bofh.it> <pYZqq-6ka-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


John,

On Tue, Aug 18, 2015 at 5:19 PM, John Youn <John.Youn@synopsys.com> wrote:
> Hi Yunzhi,
>
> My concern is with the delays due to calling the dwc2_core_reset
> during probe. You could factor out the assertion of the core
> soft reset from the dwc2_core_reset and just use that before
> calling dwc2_get_hwparams().
>
> You had previously addressed the lengthy probe time issue here:
> http://marc.info/?l=linux-usb&m=142357721304377
>
> This reducing delays patch looks reasonable to me and I think it
> should get merged also. I'll do some testing with it later this
> week.

Note: you can also avoid the extra reset during probe with something
like <https://chromium-review.googlesource.com/#/c/303152/>.  I'm
happy to post that up if you want, though it depends on lyz's patch.

...in Chrome OS we've also just landed lyz's patch to reduce delays.
If there's any fallout I'll report on the list.

-Doug
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] usb: dwc2: reset dwc2 core before dwc2_get_hwparams() Doug Anderson <dianders@chromium.org> - 2015-10-01 23:00 +0200
  Re: [PATCH v2] usb: dwc2: reset dwc2 core before dwc2_get_hwparams() John Youn <John.Youn@synopsys.com> - 2015-10-06 00:10 +0200

csiph-web