]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[PATCH] cfi: init wait queue in chip struct
authorSimon Vogl <simon.vogl@researchstudios.at>
Fri, 24 Feb 2006 21:04:09 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:37 +0000 (14:31 -0800)
commitc314b6f1fa462acdb89323c75c597eeaae056e7c
treeaf2b8f4ea1d4d04bf34deee23b70625104cb07ab
parent124d90be62343f71bbb7a6b4a907b5584181e6d5
[PATCH] cfi: init wait queue in chip struct

Fix a kernel oops for Intel P30 flashes, where the wait queue head was not
initialized for the flchip struct, which in turn caused a crash at the
first read operation.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mtd/chips/cfi_cmdset_0001.c