public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] [USB] UASP: Set iface data before scanning host
@ 2010-12-08 23:51 Luben Tuikov
  0 siblings, 0 replies; only message in thread
From: Luben Tuikov @ 2010-12-08 23:51 UTC (permalink / raw)
  To: Greg KH, linux-kernel, linux-usb

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
---
 drivers/usb/storage/uasp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/storage/uasp.c b/drivers/usb/storage/uasp.c
index 1d2b2e3..3b10efd 100644
--- a/drivers/usb/storage/uasp.c
+++ b/drivers/usb/storage/uasp.c
@@ -1059,8 +1059,8 @@ static int uasp_probe(struct usb_interface *iface,
 		goto Free;
 
 	shost->hostdata[0] = (unsigned long)tpinfo;
-	scsi_scan_host(shost);
 	usb_set_intfdata(iface, shost);
+	scsi_scan_host(shost);
 
 	return res;
  Free:
-- 
1.7.0.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-08 23:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-08 23:51 [PATCH 1/4] [USB] UASP: Set iface data before scanning host Luben Tuikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox