summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hikey9xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-17 09:10:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 16:15:26 +0200
commit67a345c7843ee287496a8ae6dce5d54064c60ad3 (patch)
tree53ec5a1dd04b44f5252db67ce5d91a8d9163d2cc /drivers/staging/hikey9xx
parent60432176956cf7aaa9b7d45d7b5adeaa443c2752 (diff)
staging: regulator: hi6421v600-regulator: don't use usleep_range for off_on_delay
The regulator's core already handles it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/4f17adca2b04c401e5de5556700638648ce25c0c.1597647359.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/hikey9xx')
-rw-r--r--drivers/staging/hikey9xx/hi6421v600-regulator.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/hikey9xx/hi6421v600-regulator.c b/drivers/staging/hikey9xx/hi6421v600-regulator.c
index abd1f43dd5ec..31b8ff19fd31 100644
--- a/drivers/staging/hikey9xx/hi6421v600-regulator.c
+++ b/drivers/staging/hikey9xx/hi6421v600-regulator.c
@@ -73,9 +73,6 @@ static int hi6421_spmi_regulator_enable(struct regulator_dev *rdev)
struct hi6421v600_regulator *sreg = rdev_get_drvdata(rdev);
struct hi6421_spmi_pmic *pmic = sreg->pmic;
- /* keep a distance of off_on_delay from last time disabled */
- usleep_range(rdev->desc->off_on_delay, rdev->desc->off_on_delay + 1000);
-
dev_dbg(&rdev->dev, "%s: off_on_delay=%d us\n",
__func__, rdev->desc->off_on_delay);