]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: Simplify keepalive flag
authorArto Merilainen <amerilainen@nvidia.com>
Tue, 11 Aug 2015 04:17:54 +0000 (07:17 +0300)
committerArto Merilainen <amerilainen@nvidia.com>
Wed, 12 Aug 2015 07:32:42 +0000 (00:32 -0700)
commite30e03099d72a0c7e19c5015708a9ee85b3cafd7
treef90a6a4abe09188765ac97dd42ad2143e5f61062
parent76425ada799b55f13d72d14f6c286f94afa87375
video: tegra: host: Simplify keepalive flag

Currently nvhost uses pm_qos API for keeping certain devices
powered. However, due to API limitations this may lead to cases
where the device does not get powered immediately when setting
the flag - or the power domain remains powered after the constraint
has been removed.

This patch refactors code to use only pm_runtime for enabling or
disabling power-off functionality.

Change-Id: I2fc9dd2d4c62626da847d37d689b5fad1935a25e
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/781704
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@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