]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: Restore poweroff request
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 26 Aug 2015 23:58:02 +0000 (02:58 +0300)
committerArto Merilainen <amerilainen@nvidia.com>
Tue, 8 Sep 2015 07:28:13 +0000 (00:28 -0700)
commitfbaa4825a024bbab7d52f017f969798dd1b27b54
tree20eca30c1ee5706a52c17954d450096113a89486
parentf38ec5919c2d268abbace12fc43ebe3a063d65eb
video: tegra: host: Restore poweroff request

Change 1a1db66cc323f6ac9e1f0d95449078b8de2f0073 refactored
keepalive flag to take a real pm runtime reference to a
device whenever the corresponding device node was open.
However, this regressed suspend stress testing; Since we
now take a real pm runtime reference to the device, having
the device node open prevents suspend. Depending on timing,
this may lead to failure to suspend.

This patch restores the no-poweroff request functionality to
nvhost acm and modifies poweroff requests to be flushed.

Bug 200132609
Bug 200132870
Bug 1679106

Change-Id: Ibdabec9ee004f2724595c64736b1a36d7f2cff25
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/791367
(cherry picked from commit 27019e0147b9a9b408b21fa530b3e50e6aa84881)
Reviewed-on: http://git-master/r/792513
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Charles Kong <charlesk@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/nvhost_acm.c
drivers/video/tegra/host/nvhost_acm.h