]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: laguna: correct avdd_dsi_csi owner
authorBryan Wu <pengw@nvidia.com>
Wed, 25 Sep 2013 20:13:02 +0000 (13:13 -0700)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 30 Oct 2013 18:52:42 +0000 (11:52 -0700)
avdd_dsi_csi regulator is owned by vi.0 and vi.1. With the wrong name
of owner like "vi", driver will fail to get this regulator:

"nvhost_vi_init: couldn't get regulator"

Bug 1377330
Bug 1398103

Change-Id: Ibba0e8afc5c353e0a7f41f6996313afc7e0f0f2e
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/289323
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
arch/arm/mach-tegra/board-ardbeg-power.c
arch/arm/mach-tegra/board-laguna-power.c

index d70fe685482f683f0f98f6dc5eac77a50327d2ca..5f0480c417189ebdc30ec2d4a0d17aa50ba274ae 100644 (file)
@@ -96,7 +96,8 @@ static struct regulator_consumer_supply as3722_ldo2_supply[] = {
        REGULATOR_SUPPLY("vddio_hsic", "tegra-xhci"),
        REGULATOR_SUPPLY("avdd_dsi_csi", "tegradc.0"),
        REGULATOR_SUPPLY("avdd_dsi_csi", "tegradc.1"),
-       REGULATOR_SUPPLY("avdd_dsi_csi", "vi"),
+       REGULATOR_SUPPLY("avdd_dsi_csi", "vi.0"),
+       REGULATOR_SUPPLY("avdd_dsi_csi", "vi.1"),
        REGULATOR_SUPPLY("pwrdet_mipi", NULL),
        REGULATOR_SUPPLY("avdd_hsic_com", NULL),
        REGULATOR_SUPPLY("avdd_hsic_mdm", NULL),
index 0d7a8de231d271a9a4e34ed3a7b646ccb8ff6c83..7bcd70e0511581e2dd47940b0502b8b56c6593c7 100644 (file)
@@ -79,7 +79,8 @@ static struct regulator_consumer_supply as3722_ldo1_supply[] = {
 static struct regulator_consumer_supply as3722_ldo2_supply[] = {
        REGULATOR_SUPPLY("avdd_dsi_csi", "tegradc.0"),
        REGULATOR_SUPPLY("avdd_dsi_csi", "tegradc.1"),
-       REGULATOR_SUPPLY("avdd_dsi_csi", "vi"),
+       REGULATOR_SUPPLY("avdd_dsi_csi", "vi.0"),
+       REGULATOR_SUPPLY("avdd_dsi_csi", "vi.1"),
        REGULATOR_SUPPLY("pwrdet_mipi", NULL),
        REGULATOR_SUPPLY("avdd_hsic_com", NULL),
        REGULATOR_SUPPLY("avdd_hsic_mdm", NULL),