firmware: tegra: Early resume BPMP
authorBitan Biswas <bbiswas@nvidia.com>
Fri, 14 Jun 2019 12:31:39 +0000 (05:31 -0700)
committerThierry Reding <treding@nvidia.com>
Fri, 14 Jun 2019 15:45:17 +0000 (17:45 +0200)
commit61ed7ef952fc482ec8d4a966ed0d1e32df276c59
tree0bf65a48906b35158f62c97f2c8867cbb398236e
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
firmware: tegra: Early resume BPMP

Early resume Tegra BPMP to fix Xavier clock rate error as follows:

[  159.017101] of_serial 3110000.serial: calling platform_pm_resume+0x0/0x58 @ 317, parent: cbb
[  159.025501] of_serial 3110000.serial: platform_pm_resume+0x0/0x58 returned 0 after 14 usecs
[  159.033694] tegra-i2c 31c0000.i2c: calling platform_pm_resume+0x0/0x58 @ 317, parent: cbb
[  159.042254] tegra-i2c 31c0000.i2c: failed changing clock rate: -22
[  159.048216] PM: dpm_run_callback(): platform_pm_resume+0x0/0x58 returns -22
[  159.055553] tegra-i2c 31c0000.i2c: platform_pm_resume+0x0/0x58 returned -22 after 13072 usecs
[  159.063875] PM: Device 31c0000.i2c failed to resume: error -22

Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp.c