usb-bus: Add knowledge of USB_SPEED_SUPER to usb_speed helper
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
		
							parent
							
								
									f8ddbfbcda
								
							
						
					
					
						commit
						290d26d2e7
					
				| @ -273,6 +273,7 @@ static const char *usb_speed(unsigned int speed) | ||||
|         [ USB_SPEED_LOW  ] = "1.5", | ||||
|         [ USB_SPEED_FULL ] = "12", | ||||
|         [ USB_SPEED_HIGH ] = "480", | ||||
|         [ USB_SPEED_SUPER ] = "5000", | ||||
|     }; | ||||
|     if (speed >= ARRAY_SIZE(txt)) | ||||
|         return "?"; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hans de Goede
						Hans de Goede