Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 342d3a93 authored by Russell King's avatar Russell King Committed by David Woodhouse
Browse files

mtd: fix 'Flash device refused suspend due to active operation' message



While debugging on SA11x0, the following message was observed:

"Flash device refused suspend due to active operation (state 20)"

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 492b8bde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2479,7 +2479,7 @@ static int cfi_intelext_suspend(struct mtd_info *mtd)
			   allowed to. Or should we return -EAGAIN, because the upper layers
			   ought to have already shut down anything which was using the device
			   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;
		case FL_PM_SUSPENDED:
			break;