From: Steve Longerbeam Date: Mon, 26 Aug 2013 18:42:09 +0000 (-0700) Subject: gpu: ipu-v3: Implement use counter for ipu_dc_enable(), ipu_dc_disable() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~39^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f853f3daac748daa339bc8b64ba39db82160524a;p=pandora-kernel.git gpu: ipu-v3: Implement use counter for ipu_dc_enable(), ipu_dc_disable() The functions ipu_dc_enable() and ipu_dc_disable() enable/disable the DC globally in the IPU_CONF register, but the DC is used by multiple clients on different DC channels. So make sure to only disable/enable the DC globally based on a use counter. Signed-off-by: Steve Longerbeam Signed-off-by: Philipp Zabel --- Reading git-diff-tree failed