Am Mittwoch, 4. Januar 2006 23:27 schrieb Greg KH:
> +static void ati_remote2_disconnect(struct usb_interface *interface)
> +{
> +       struct ati_remote2 *ar2;
> +       struct usb_host_interface *alt = interface->cur_altsetting;
> +
> +       if (alt->desc.bInterfaceNumber)
> +               return;
> +
> +       ar2 = usb_get_intfdata(interface);
> +       usb_set_intfdata(interface, NULL);
> +
> +       input_unregister_device(ar2->idev);
> +
> +       ati_remote2_urb_cleanup(ar2);
> +
> +       usb_driver_release_interface(&ati_remote2_driver, ar2->intf[1]);
> +
> +       kfree(ar2);
> +}

What happens if somebody uses sysfs or usbfs to unbind the second interface?

        Regards
                Oliver


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to