[linux-usb-devel] Re: locking reset/probe

2003-04-04 Thread Greg KH
On Sat, Mar 29, 2003 at 05:53:50PM +0100, Oliver Neukum wrote: > > > Well I asked Pat, and he said it was ok to use. > > > > I'd prefer that, as we would not have to grab yet-another-lock in the > > probe sequence. Just document it well :) > > Here it is. This time locking and doing the operatio

[linux-usb-devel] Re: locking reset/probe

2003-03-29 Thread Oliver Neukum
> Well I asked Pat, and he said it was ok to use. > > I'd prefer that, as we would not have to grab yet-another-lock in the > probe sequence. Just document it well :) Here it is. This time locking and doing the operation is seperated. Some firmware loaders need to do a reset during probe.

[linux-usb-devel] Re: locking reset/probe

2003-03-27 Thread Greg KH
On Thu, Mar 27, 2003 at 06:30:49AM +0100, Oliver Neukum wrote: > Am Donnerstag, 27. März 2003 01:54 schrieb Greg KH: > > On Wed, Mar 26, 2003 at 11:02:43PM +0100, Oliver Neukum wrote: > > > Hi, > > > > > > this won't be quite to Greg's liking as it introduces holding another > > > semaphore, but it

[linux-usb-devel] Re: locking reset/probe

2003-03-26 Thread Oliver Neukum
Am Donnerstag, 27. März 2003 01:54 schrieb Greg KH: > On Wed, Mar 26, 2003 at 11:02:43PM +0100, Oliver Neukum wrote: > > Hi, > > > > this won't be quite to Greg's liking as it introduces holding another > > semaphore, but it is needed. You must not probe and reset at the same > > time. This can bes

[linux-usb-devel] Re: locking reset/probe

2003-03-26 Thread Greg KH
On Wed, Mar 26, 2003 at 11:02:43PM +0100, Oliver Neukum wrote: > Hi, > > this won't be quite to Greg's liking as it introduces holding another > semaphore, but it is needed. You must not probe and reset at the same time. > This can best be assured by the device's semaphore. Why not just use the u