Re: [PATCH 1/2] ELAN U132 Host Controller Driver: convert sw_lock to mutex

2007-09-06 Thread Matthias Kaehlcke
El Fri, Sep 07, 2007 at 12:08:34AM +0200 Oleg Verych ha dit: > * Thu, 6 Sep 2007 23:18:15 +0200 > > [] > > @@ -184,7 +184,7 @@ struct u132_ring { > > struct u132 { > > Subject: [PATCH 1/2] ELAN U132 Host Controller Driver: convert sw_lock to > mutex >

Re: [PATCH 1/2] ELAN U132 Host Controller Driver: convert sw_lock to mutex

2007-09-06 Thread Oleg Verych
* Thu, 6 Sep 2007 23:18:15 +0200 [] > @@ -184,7 +184,7 @@ struct u132_ring { > struct u132 { Subject: [PATCH 1/2] ELAN U132 Host Controller Driver: convert sw_lock to mutex [] > struct list_head u132_list; > -struct semaphore sw_lock; > +struc

[PATCH 1/2] ELAN U132 Host Controller Driver: convert sw_lock to mutex

2007-09-06 Thread Matthias Kaehlcke
The ELAN U132 Host Controller Driver uses the semaphore sw_lock as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index b88eb3c..1201ca4 100644 --- a/driver