From: Zhao Yakui Date: Wed, 8 Aug 2012 13:53:15 +0000 (+0000) Subject: gma500: Fix incorrect SR issue when disabling CRTC already in disabled state X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e9dc69709afad2be8de4ac2ecd6015356936ca;p=pandora-kernel.git gma500: Fix incorrect SR issue when disabling CRTC already in disabled state Currently when trying to call the DPMS off again for one CRTC with DPMS off, it will firstly disable the SR and can't enable it again because of the incorrect check/logic. In such case the self refresh is still disabled although one CRTC pipe is active. This is wrong. Signed-off-by: Zhao Yakui [Ported to in kernel driver] Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- Reading git-diff-tree failed