]> git.hungrycats.org Git - linux/commit
mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions
authorTed Juan <ted.juan@gmail.com>
Fri, 20 Jun 2014 09:32:05 +0000 (17:32 +0800)
committerJiri Slaby <jslaby@suse.cz>
Tue, 29 Jul 2014 15:01:45 +0000 (17:01 +0200)
commitb2a13535522c598f332f182dcacab0557ea44b0e
treef58c336c36575c344a5beeeb1b41fbfba85139f0
parentbde32a05cc099e4ba4a117afb678134dd7082e82
mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions

commit 6938ad40cb97a52d88a763008935340729a4acc7 upstream.

These two function's switch case lack the 'break' that make them always
return error.

Signed-off-by: Ted Juan <ted.juan@gmail.com>
Acked-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/mtd/devices/elm.c