From: Axel Lin Date: Tue, 9 Apr 2013 12:15:06 +0000 (+0800) Subject: regulator: ab8500: Don't update info->update_val if write to register fails X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~25^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04adc5ab3b70ad9b7d17d6a6fc2113669134a4d;p=pandora-kernel.git regulator: ab8500: Don't update info->update_val if write to register fails This patch ensures info->update_val is consistent with current register value. Signed-off-by: Axel Lin Acked-by: Bengt Jonsson Signed-off-by: Mark Brown --- Reading git-diff-tree failed