diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2014-05-12 16:17:17 +0300 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2014-05-13 13:39:56 -0700 |
commit | a6c9ce8f39deb2af976ab3a587182711dae0fc70 (patch) | |
tree | ef1bda0742ffef4a7ca30ce018f4473040db807b /drivers/tty/serial/of_serial.c | |
parent | 0b0fa33d528fdc3252489d792a3dabc00eae51f6 (diff) |
video: tegra: host: Disable pm runtime late
Currently pm runtime is disabled for host1x right after we start
suspending. However, many devices (dc, avp, gk20a) depend on host1x
functionality and thereby they try to turn on host1x during suspend.
This patch modifies host1x suspend sequence to:
- Suspend late and resume early. This ensures that "normal" devices can
handle host1x properly.
- Re-enable host1x pm runtime immediately after genpd has disabled it.
This allows other devices to use pm runtime to enable host1x.
- Disable pm runtime in complete event. genpd will re-enable it
immediately after this has happened
Bug 200001342
Change-Id: Ic40cc3e257f9bde8e28eec27bb1a2ca939987ca7
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/408238
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Tested-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/tty/serial/of_serial.c')
0 files changed, 0 insertions, 0 deletions