Re: [PATCH] usb: typec: tcpci: Fix error code in tcpci_check_std_output_cap()
From: Marco Felsch
Date: Mon Jul 15 2024 - 03:11:57 EST
Hi,
On 24-07-12, Dan Carpenter wrote:
> The tcpci_check_std_output_cap() function is supposed to return negative
> error codes but it's declared as type bool so the error handling doesn't
> work. Declare it as an int instead.
sorry I missed this :/ in the first place, thank you for the fix.
> Fixes: 62ce9ef14797 ("usb: typec: tcpci: add support to set connector orientation")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Reviewed-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>