Skip to content

Commit a5da956

Browse files
matnymangregkh
authored andcommitted
xhci: use debug level when printing out interval rounding messages
Don't use dev_warn() for intened behaviour, use dev_dbg() Rounding down the interval to the nearest power of 2 is required by xhci specs. Signed-off-by: Mathias Nyman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent bfcce47 commit a5da956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/xhci-mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ static unsigned int xhci_microframes_to_exponent(struct usb_device *udev,
12451245
interval = fls(desc_interval) - 1;
12461246
interval = clamp_val(interval, min_exponent, max_exponent);
12471247
if ((1 << interval) != desc_interval)
1248-
dev_warn(&udev->dev,
1248+
dev_dbg(&udev->dev,
12491249
"ep %#x - rounding interval to %d microframes, ep desc says %d microframes\n",
12501250
ep->desc.bEndpointAddress,
12511251
1 << interval,

0 commit comments

Comments
 (0)