usb: xhci: avoid noisy 'Starting the controller' message.

We should avoid overwhelming users with non-essential messages.

The message 'Starting the controller' is not written for EHCI.
We should not write it for XHCI either.

Adjust the Python test accordingly.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
This commit is contained in:
Heinrich Schuchardt
2025-11-28 07:46:47 +01:00
committed by Marek Vasut
parent 141be72e2a
commit 13c9c975e7
2 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ static int xhci_start(struct xhci_hcor *hcor)
u32 temp;
int ret;
puts("Starting the controller\n");
debug("Starting the controller\n");
temp = xhci_readl(&hcor->or_usbcmd);
temp |= (CMD_RUN);
xhci_writel(&hcor->or_usbcmd, temp);

View File

@@ -58,7 +58,7 @@ def test_usb_start(ubman):
assert 'USB init failed' not in output
assert 'starting USB...' in output
if 'Starting the controller' in output:
if ubman.config.buildconfig.get('config_usb_xhci_hcd'):
assert 'USB XHCI' in output
output = ubman.run_command('echo $?')
@@ -104,7 +104,7 @@ def test_usb_reset(ubman):
assert 'USB init failed' not in output
assert 'resetting USB...' in output
if 'Starting the controller' in output:
if ubman.config.buildconfig.get('config_usb_xhci_hcd'):
assert 'USB XHCI' in output
output = ubman.run_command('echo $?')