regulator: pbias: Handle extended drain IO when changing omap36 PBIAS
authorAdam Ford <aford173@gmail.com>
Thu, 24 Jan 2019 20:33:36 +0000 (14:33 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 1 Feb 2019 19:13:45 +0000 (14:13 -0500)
commit3c29a5673617c8f03e0494febca310c2ea1f7ed9
tree0bc218e7d35063b3d4271c9bf5f3aa2936709648
parent341e5a2752443c4be1caa9ba63186749ab5c7658
regulator: pbias: Handle extended drain IO when changing omap36 PBIAS

The OMAP36 and DM37 TRM state to disable extneded drain IO before
changing the PBIAS.  This patch does this before pmic writes if
the CONFIG_MMC_OMAP36XX_PINS flag is set and the cpu family is
omap36xx

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/power/regulator/pbias_regulator.c