aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0001.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
index 2d9669047ed4..920b474a5613 100644
--- a/drivers/mtd/chips/cfi_cmdset_0001.c
+++ b/drivers/mtd/chips/cfi_cmdset_0001.c
@@ -2479,7 +2479,7 @@ static int cfi_intelext_suspend(struct mtd_info *mtd)
2479 allowed to. Or should we return -EAGAIN, because the upper layers 2479 allowed to. Or should we return -EAGAIN, because the upper layers
2480 ought to have already shut down anything which was using the device 2480 ought to have already shut down anything which was using the device
2481 anyway? The latter for now. */ 2481 anyway? The latter for now. */
2482 printk(KERN_NOTICE "Flash device refused suspend due to active operation (state %d)\n", chip->oldstate); 2482 printk(KERN_NOTICE "Flash device refused suspend due to active operation (state %d)\n", chip->state);
2483 ret = -EAGAIN; 2483 ret = -EAGAIN;
2484 case FL_PM_SUSPENDED: 2484 case FL_PM_SUSPENDED:
2485 break; 2485 break;