From: Mark Brown Date: Mon, 19 Mar 2012 14:56:39 +0000 (+0000) Subject: OMAPDSS: VENC: Check for errors from regulator_enable() X-Git-Tag: v3.5-rc1~7^2~5^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec8741078d0a644d68827c8a347ac6be153622b5;p=pandora-kernel.git OMAPDSS: VENC: Check for errors from regulator_enable() It is possible for regulator_enable() to fail and if it does fail that's generally a bad sign for anything we try to do with the hardware afterwards so check for and immediately return an error if regulator_enable() fails. Signed-off-by: Mark Brown Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed