diff options
| author | William wu <william.wu@rock-chips.com> | 2017-01-17 15:32:07 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 06:37:29 +0100 |
| commit | 61e9e9bcfd7b7b5645db191434d922f3bd25fa88 (patch) | |
| tree | 32f52208f86f12304341f3e79383fa7103d2ecaf /tools/perf/scripts/python | |
| parent | 900466a746f560c0c2032c2e2060fd538a899ea2 (diff) | |
usb: host: xhci: plat: check hcc_params after add hcd
commit 5de4e1ea9a731cad195ce5152705c21daef3bbba upstream.
The commit 4ac53087d6d4 ("usb: xhci: plat: Create both
HCDs before adding them") move add hcd to the end of
probe, this cause hcc_params uninitiated, because xHCI
driver sets hcc_params in xhci_gen_setup() called from
usb_add_hcd().
This patch checks the Maximum Primary Stream Array Size
in the hcc_params register after add primary hcd.
Signed-off-by: William wu <william.wu@rock-chips.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Fixes: 4ac53087d6d4 ("usb: xhci: plat: Create both HCDs before adding them")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
