[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)
committerChris Wright <chrisw@sous-sol.org>
Wed, 1 Mar 2006 22:36:36 +0000 (14:36 -0800)
commit3bf8ce11c70ef5dc2298c7fff4a744c48e87b9f0
tree8a5c595a9e7063b5a93d8c057020afe94712b084
parentb68e8ec13bcb0bb66173a5803a98602575e6b8d0
[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: Chris Wright <chrisw@sous-sol.org>
drivers/mtd/chips/cfi_cmdset_0001.c