aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0002.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index 7b7286b4d81e..c8fa5906bdf9 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -869,6 +869,7 @@ static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr
869 /* Only if there's no operation suspended... */ 869 /* Only if there's no operation suspended... */
870 if (mode == FL_READY && chip->oldstate == FL_READY) 870 if (mode == FL_READY && chip->oldstate == FL_READY)
871 return 0; 871 return 0;
872 /* fall through */
872 873
873 default: 874 default:
874 sleep: 875 sleep:
@@ -2751,6 +2752,7 @@ static void cfi_amdstd_sync (struct mtd_info *mtd)
2751 * as the whole point is that nobody can do anything 2752 * as the whole point is that nobody can do anything
2752 * with the chip now anyway. 2753 * with the chip now anyway.
2753 */ 2754 */
2755 /* fall through */
2754 case FL_SYNCING: 2756 case FL_SYNCING:
2755 mutex_unlock(&chip->mutex); 2757 mutex_unlock(&chip->mutex);
2756 break; 2758 break;