gfx: display: refactor psb_runtime_{idle,suspend}
authorJani Nikula <jani.nikula@intel.com>
Thu, 5 Jan 2012 13:35:34 +0000 (15:35 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:26 +0000 (12:29 +0300)
commitce3e4c7e125ba8e06a272f55ea2487a40e554cdf
treecfd0d2cc44f51292898dade6ee92133a1beae353
parent8976700e4236e25cf478d1329f485ce6a6d2423f
gfx: display: refactor psb_runtime_{idle,suspend}

Reuse psb_runtime_idle for checking whether runtime suspend is possible in
psb_runtime_suspend, making the conditions the same for both. Do HDMI audio
suspend in suspend, not idle.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_powermgmt.c