|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [RESEND PATCH 10/10] usb-hub: Fix handling port power control messages |
Date: | Mon, 18 Nov 2024 13:33:31 +0100 |
User-agent: | Mozilla Thunderbird |
On 12/11/24 17:01, Guenter Roeck wrote:
The ClearPortFeature control message fails for PORT_POWER because there is no break; at the end of the case statement, causing it to fall through to the failure handler. Add the missing break; to solve the problem. Signed-off-by: Guenter Roeck <linux@roeck-us.net> --- Change from RFC: New patch hw/usb/dev-hub.c | 1 + 1 file changed, 1 insertion(+)
Fixes: 1cc403eb21 ("usb-hub: emulate per port power switching") Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |