diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-07-22 09:39:01 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-25 09:53:26 -0400 |
commit | 4b5e33a7bf185c8d8568a807d9805fb155bcedd9 (patch) | |
tree | 6e8658fe6708ea36260f8e813cbdc88500c4ca10 /drivers/mtd/mtdpart.c | |
parent | 7b2491911540e4904498622fbee2e1a9e3120d2f (diff) | |
download | lwn-4b5e33a7bf185c8d8568a807d9805fb155bcedd9.tar.gz lwn-4b5e33a7bf185c8d8568a807d9805fb155bcedd9.zip |
[MTD] physmap: resume already suspended chips on failure to suspend
A nice side effect of this patch is that the return value of
physmap_flash_suspend in the error path is the value of the first failing
suspend callback and not the bitwise OR of all of them.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
0 files changed, 0 insertions, 0 deletions