mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
ehci-dbgp: fix selecting n-th ehci controller
The ehci<n> number was parsed but ignored.
Fixes: 322ecbe4ac ("console: add EHCI debug port based serial console")
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
4ccfee0a08
commit
d6d0cb659f
1 file changed
+1
-1
@@ -1480,7 +1480,7 @@ void __init ehci_dbgp_init(void)
|
||||
unsigned int num = 0;
|
||||
|
||||
if ( opt_dbgp[4] )
|
||||
simple_strtoul(opt_dbgp + 4, &e, 10);
|
||||
num = simple_strtoul(opt_dbgp + 4, &e, 10);
|
||||
|
||||
dbgp->cap = find_dbgp(dbgp, num);
|
||||
if ( !dbgp->cap )
|
||||
|
||||