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>
#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>
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;