diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-12-19 20:15:56 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 22:34:33 +0400 |
commit | 75e1a2ae1f61ce1ae640410ba757bba84bd9fefe (patch) | |
tree | 065f92a49b02978cec2f49df5b4dc1eac9cf1910 /drivers/usb/Kconfig | |
parent | 2cb5000057fbd2237c19b8b8bd4f6948fd11f5f8 (diff) | |
download | linux-75e1a2ae1f61ce1ae640410ba757bba84bd9fefe.tar.xz |
USB: ehci: make debug port in-use detection functional again
Debug port in-use determination must be done before the controller gets
reset the first time, i.e. before the call to ehci_setup() as of commit
1a49e2ac9651df7349867a5cf44e2c83de1046af. That commit effectively
rendered commit 9fa5780beea1274d498a224822397100022da7d4 useless.
While moving that code around, also fix the BAR determination - the
respective capability field is a 3- rather than a 2-bit one -, and use
PCI_CAP_ID_DBG instead of the literal 0x0a.
It's unclear to me whether the debug port functionality is important
enough to warrant fixing this in stable kernels too.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions