Re: [PATCH 2/4] USB: serial: metro-usb: dummy implement write_int_callback function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 17, 2012 at 08:07:07PM +0400, Aleksey Babahin wrote:
> Without this declaration we can`t use interrupt_out_endpointAddress.
> ---
>  drivers/usb/serial/metro-usb.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/serial/metro-usb.c b/drivers/usb/serial/metro-usb.c
> index 08d16e8..6dba779 100644
> --- a/drivers/usb/serial/metro-usb.c
> +++ b/drivers/usb/serial/metro-usb.c
> @@ -136,6 +136,14 @@ exit:
>  			__func__, result);
>  }
>  
> +static void metrousb_write_int_callback (struct urb *urb)
> +{
> +	struct usb_serial_port *port = urb->context;
> +
> +	dev_warn(&port->dev, "%s not implemented yet.\n"
> +		,__FUNCTION__);
> +}

So you enable it, and then complain to the user that it's broken?  That
doesn't make sense...

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux