From: Vijay Sampath Date: Tue, 6 Mar 2007 10:39:44 +0000 (-0800) Subject: [MTD] [NOR] Fix oops in cfi_amdstd_sync X-Git-Tag: v2.6.21-rc4~69^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83d480917b1af3f8fcffa7a9c8775e0f2dd03395;p=pandora-kernel.git [MTD] [NOR] Fix oops in cfi_amdstd_sync The files cfi_cmdset_0002.c and cfi_cmdset_0020.c do not initialize their wait queues like is done in cfi_cmdset_0001.c. This causes an oops when the wait queue is accessed. I have copied the code from cfi_cmdset_0001.c that is pertinent to initialization of the wait queue. Signed-off-by: Vijay Sampath Acked-by: Joern Engel Acked-by: Josh Boyer Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed