|
@@ -2479,7 +2479,7 @@ static int cfi_intelext_suspend(struct mtd_info *mtd)
|
|
allowed to. Or should we return -EAGAIN, because the upper layers
|
|
allowed to. Or should we return -EAGAIN, because the upper layers
|
|
ought to have already shut down anything which was using the device
|
|
ought to have already shut down anything which was using the device
|
|
anyway? The latter for now. */
|
|
anyway? The latter for now. */
|
|
- printk(KERN_NOTICE "Flash device refused suspend due to active operation (state %d)\n", chip->oldstate);
|
|
|
|
|
|
+ printk(KERN_NOTICE "Flash device refused suspend due to active operation (state %d)\n", chip->state);
|
|
ret = -EAGAIN;
|
|
ret = -EAGAIN;
|
|
case FL_PM_SUSPENDED:
|
|
case FL_PM_SUSPENDED:
|
|
break;
|
|
break;
|