diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2006-12-08 05:39:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:58 -0500 |
commit | 42f6384fe4747f65dc27e8a5f96502204558203b (patch) | |
tree | 2426f001057d213fa89b0c2b790ddb93e4faa707 /drivers/char/pc8736x_gpio.c | |
parent | 927a6f9dd0d0b5f70cb2e0799ce7a3844f43d42f (diff) |
[PATCH] Char: sx, lock boards struct
Fix race condition which may occurs when multiple cards are probed at the same
time. Add mutex to critical sections to avoid this situation.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/pc8736x_gpio.c')
0 files changed, 0 insertions, 0 deletions