]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
misc: tegra-baseband: remove PWR_DET WAR
authorMark Kuo <mkuo@nvidia.com>
Wed, 26 Nov 2014 03:37:01 +0000 (11:37 +0800)
committerLaxman Dewangan <ldewangan@nvidia.com>
Thu, 27 Nov 2014 07:18:56 +0000 (23:18 -0800)
In http://git-master/r/#/c/487100/ we had a WAR to set voltage rail by
calling a function in powerdetect driver. Since we have pad control
driver for PMC now, we don't need to call this anymore, hence remove it
in modem power driver.

Bug 200059366

Change-Id: Ic183feee01987d479c243743d6838efad8893bb3
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: http://git-master/r/655745
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/misc/tegra-baseband/tegra_usb_modem_power.c

index 29cfeff85de3e7232f252259e2bcd15efcc03dba..639ed94245364b20b86d14b30990e48d964077aa 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/sysedp.h>
 #include <linux/platform_data/tegra_usb_modem_power.h>
 #include <linux/dma-mapping.h>
-#include <linux/tegra-pmc.h>
 #include <linux/delay.h>
 #include "../../../arch/arm/mach-tegra/iomap.h"
 #include <linux/fs.h>
@@ -729,9 +728,6 @@ static int mdm_init(struct tegra_usb_modem *modem, struct platform_device *pdev)
        pdata->autosuspend_delay = DEFAULT_AUTOSUSPEND;
        pdata->short_autosuspend_delay = DEFAULT_SHORT_AUTOSUSPEND;
 
-       /* Clear PWR_DET bit */
-       pwr_detect_bit_write(GPIO_PWR_DET, false);
-
        /* get modem operations from platform data */
        modem->ops = (const struct tegra_modem_operations *)pdata->ops;