GPIO resume needs to happen early in the resume process
to ensure proper functioning of the peripheral drivers.
This change moves the GPIO resume to early_resume.
Bug
200298115
Change-Id: Ifda130b2c031dfc605dd7c0a297f5389dc8f4b23
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/
1482938
(cherry picked from commit
fe8ced21e938523484fffc5890478f7994a73628)
Reviewed-on: http://git-master/r/
1487957
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
static struct syscore_ops tegra_gpio_syscore_ops = {
.suspend = tegra_gpio_suspend,
- .resume = tegra_gpio_resume,
+ .early_resume = tegra_gpio_resume,
.save = tegra_gpio_suspend,
.restore = tegra_gpio_resume,
};