From: Saquib Herman Date: Fri, 1 Apr 2011 04:52:44 +0000 (+0530) Subject: regulator: twl: fix twl6030 regulator is_enabled X-Git-Tag: v3.0-rc1~48^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2456779f39e33ad63a63aabe9af77d1113f106e;p=pandora-kernel.git regulator: twl: fix twl6030 regulator is_enabled With TWL6030, it is not enough to ensure that the regulator is the group of P1 group (CPU/Linux), but we need to check the state as far as APP is concerned as well. Split the current is_enabled to 6030 and 4030 specific ones. This split impacts few macros and variables as well, but sets up the stage for further fixes to set_mode and get_status in subsequent patches. Signed-off-by: Nishanth Menon Signed-off-by: Saquib Herman Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed