[MTD] cfi_cmdset_0001: Fix the buggy status check.
authorThomas Gleixner <tglx@linutronix.de>
Tue, 15 Mar 2005 19:07:21 +0000 (19:07 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:53:47 +0000 (12:53 +0200)
commit3a70025047f90de2133744a8918e90fcf5a93366
treec92637dd52da4a8e5071d11eb032b55a6dd62d2f
parentc927cd3a226bed5cf063cdf04de13cef51144cef
[MTD] cfi_cmdset_0001: Fix the buggy status check.

The change makes the code endianess aware and replaces the bogus
nested loop to or the status flags together.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/chips/cfi_cmdset_0001.c