Re: [Rt2400-devel] [PATCH] rt2500usb - Don't claim 050d:705{0/a}

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adam Baker
Date: Friday, October 26, 2007 - 12:58 pm

On Friday 26 October 2007 20:10, Roland Dreier wrote:

The function that is returning ENODEV is the driver probe function. According 
to Documentation/DocBook/writing_usb_driver/ch03.html when that function is 
called 

"The driver now needs to verify that this device is actually one that it can 
accept. If so, it returns 0. If not, or if any error occurs during 
initialization, an errorcode (such as -ENOMEM or -ENODEV) is returned from 
the probe function."

It isn't a device the driver can accept so it returns -ENODEV

Adam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] rt2500usb - Don't claim 050d:705{0/a}, Parag Warudkar, (Wed Oct 24, 4:22 pm)
Re: [Rt2400-devel] [PATCH] rt2500usb - Don't claim 050d:70 ..., Adam Baker, (Fri Oct 26, 12:58 pm)