[U-Boot] [PATCH 1/8] usb: r8a66597: return -ENOTSUPP from unimplemented submit_int_msg

Marek Vasut marex at denx.de
Tue Jul 2 11:57:29 UTC 2019


On 7/1/19 5:56 PM, Michal Suchanek wrote:

SoB line missing, commit message missing, please fix globally.

> ---
>  drivers/usb/host/r8a66597-hcd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
> index 3c263e51c160..7b699d3f4788 100644
> --- a/drivers/usb/host/r8a66597-hcd.c
> +++ b/drivers/usb/host/r8a66597-hcd.c
> @@ -826,7 +826,7 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
>  {
>  	/* no implement */
>  	R8A66597_DPRINT("%s\n", __func__);
> -	return 0;
> +	return -ENOTSUPP;
>  }
>  
>  int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list