From: Saquib Herman Date: Fri, 1 Apr 2011 04:52:44 +0000 (+0530) Subject: regulator: twl: fix twl6030 regulator is_enabled X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddf6936569cbfa3f3727839474e54768821e0aeb;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