Staging: rar and memrar updates
authorAlan Cox <alan@linux.intel.com>
Tue, 4 May 2010 19:40:12 +0000 (20:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:07 +0000 (11:36 -0700)
commit375d65db27544a183aed5e14aa2ed487c796c78d
treeeaab9c08efaf8a0da36106bf702f16c6238c59dd
parenta9d26f00b8b1b2a79e42cfa4ca20ec9a1c11c1d2
Staging: rar and memrar updates

rar: perform a clean up pass

- Move to a registration model where each RAR is claimed/unclaimed
- Use that to fix the client stuff (one client per RAR so no need to queue stuff)
- Support unregister so drivers can rmmod themselves safely
- Fix locking hang on calling rar lock from rar callback
- Clean up
- Kerneldoc

Folded in the memrar update as Greg asked

- Fix various unload related bugs
- Use the per RAR allocator/deallocator
- Add kerneldoc

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/memrar/memrar_handler.c
drivers/staging/rar_register/rar_register.c
drivers/staging/rar_register/rar_register.h