Re: [patch 2/3] Convert ccp->readmutex in a mutex

2008-02-19 Thread Daniel Walker
On Mon, Feb 18, 2008 at 08:45:35PM +0100, [EMAIL PROTECTED] wrote: > @@ -1391,7 +1391,7 @@ > > /* Initialize device descriptor */ > init_MUTEX( &ccp->mutex); > - init_MUTEX( &ccp->readmutex); > + mutex_init(&ccp->readmutex); > auerbuf_init (&ccp->bufctl); > c

[PATCH 1/1] usb: misc: legousbtower: semaphore to mutex

2008-01-11 Thread Daniel Walker
The dev->sem conforms to mutex style usage. This patch converts it to use the struct mutex type, and new API. There is also a small style fix around this comment, /* unlock here as tower_delete frees dev */ Where I broke the line up to meet the 80 char limit. Signed-off-by: Daniel Wal