diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-10-15 15:08:47 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-10 17:56:06 -0800 |
commit | d2fd05bb6769d53ab98a11b080b3fb889276049d (patch) | |
tree | d2b8dbf4520e444d2c37d6d174250b060085c75f /drivers/cpuidle/cpuidle-clps711x.c | |
parent | 9498440fff21649cabe529f1d9d4e3bc668fc125 (diff) |
mtd: afs: refactor v1 partition parsing
Return immediately if we are not finding a valid v1 partition
in afs_read_footer_v1(), invert scanning logic so we continue
to read image information on v1 if we found a footer. This is
needed for the logic we introduce to parse v2 footers.
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle-clps711x.c')
0 files changed, 0 insertions, 0 deletions