aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAlexey Korolev <[email protected]>2008-04-04 14:30:01 -0700
committerLinus Torvalds <[email protected]>2008-04-04 14:46:26 -0700
commitfb6d080c6f75dfd7e23d5a3575334785aa8738eb (patch)
treead416f53e71a9f00d7dc4bcf0a24d035cb89ad1f /lib/debugobjects.c
parent4077960e2a38ec59096ff993cd080056e17f3707 (diff)
mtd: fix broken state in CFI driver caused by FL_SHUTDOWN
THe CFI driver in 2.6.24 kernel is broken. Not so intensive read/write operations cause incomplete writes which lead to kernel panics in JFFS2. We investigated the issue - it is caused by bug in FL_SHUTDOWN parsing code. Sometimes chip returns -EIO as if it is in FL_SHUTDOWN state when it should wait in FL_PONT (error in order of conditions). The following patch fixes the bug in state parsing code of CFI. Also I've added comments to notify developers if they want to add new case in future. Signed-off-by: Alexey Korolev <[email protected]> Reviewed-by: Joern Engel <[email protected]> Cc: David Woodhouse <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions