]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: camera: Clean up when AP link power mode configuration failed
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 14 Feb 2016 00:33:05 +0000 (02:33 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 15 Feb 2016 22:55:17 +0000 (14:55 -0800)
commitb573b0e65616c1ae5c5dd2c14fd62d3ded3d5466
treec4d419d6972197de81e704cc6e6c72ff77d68ed1
parentc161c0fc2f18ab8c299d6cb716d6264427e38867
greybus: camera: Clean up when AP link power mode configuration failed

Restore the module link power mode to the previous state in that case.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Tested-by: Jacopo Mondi <jacopo.mondi@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c