From: Peter Ujfalusi Date: Thu, 23 Feb 2012 07:44:41 +0000 (+0200) Subject: OMAP4: dma: Correct CPU version check for dma_common_ch_end X-Git-Tag: v3.4-rc1~93^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d82ba9954b6b2c4ac91ec6f6f42be8c5215d0619;p=pandora-kernel.git OMAP4: dma: Correct CPU version check for dma_common_ch_end CCDN is the last common channel register in all OMAP4 versions. Use cpu_is_omap44xx() instead of the cpu_is_omap4430(). cpu_is_omap4430() returns 0 unconditionally. This causes that the dma_common_ch_end register variable is not configured correctly on OMAP4, not even for OMAP4430. Because of this, registers between CCFN - CCDN will be not cleard in the omap2_clear_dma function in OMAP4. Signed-off-by: Peter Ujfalusi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed