]> git.baikalelectronics.ru Git - kernel.git/commit
nozomi: fix initialization and early flow control access
authorFrank Seidel <fseidel@suse.de>
Thu, 6 Mar 2008 20:45:57 +0000 (21:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Mar 2008 23:33:32 +0000 (16:33 -0700)
commit9ab892c63d2b532054e46b92868ae10e4a36e6cf
tree0a92f74a1ec6990db333514ed88a9bed5ca6a912
parentf65d594f8e7022af42c117e82ae5c15d8805652a
nozomi: fix initialization and early flow control access

Due to some flaws in the initialization and flow control
code kernel oopses could be triggered e.g. when accessing
the card too early after insertion.
See e.g. kernel.org bug #10077.
The main part of the fix is a trivial state management
making sure the card is realy ready to use before allowing
any access.

Signed-off-by: Frank Seidel <fseidel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/nozomi.c