All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
To: linux-usb@vger.kernel.org, netdev <netdev@vger.kernel.org>
Cc: D.Barow@option.com
Subject: hso: remove usb_driver_claim_interface()
Date: Wed, 10 Sep 2008 12:06:29 +0300	[thread overview]
Message-ID: <48C78E15.9030603@teltonika.lt> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: hso-no-claim-interface.patch --]
[-- Type: text/x-patch, Size: 587 bytes --]

No need to reclaim the same USB interface beeing probed.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Cc: Denis Joseph Barrow <D.Barow@option.com>

Index: linux-2.6/drivers/net/usb/hso.c
===================================================================
--- linux-2.6.orig/drivers/net/usb/hso.c
+++ linux-2.6/drivers/net/usb/hso.c
@@ -2487,8 +2487,6 @@ static int hso_probe(struct usb_interfac
 		goto exit;
 	}
 
-	usb_driver_claim_interface(&hso_driver, interface, hso_dev);
-
 	/* save our data pointer in this device */
 	usb_set_intfdata(interface, hso_dev);
 

             reply	other threads:[~2008-09-10  9:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10  9:06 Paulius Zaleckas [this message]
2008-09-10 10:44 ` hso: remove usb_driver_claim_interface() Denis Joseph Barrow
     [not found]   ` <48C7A4F5.2070607-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
2008-09-10 11:26     ` Paulius Zaleckas
2008-09-10 11:34       ` Denis Joseph Barrow
2008-09-10 11:44         ` Paulius Zaleckas
2008-09-10 11:56           ` Denis Joseph Barrow
2008-09-10 13:55   ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C78E15.9030603@teltonika.lt \
    --to=paulius.zaleckas@teltonika.lt \
    --cc=D.Barow@option.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.