From: Sascha Hauer Date: Thu, 1 Dec 2011 13:58:51 +0000 (+0100) Subject: i.MX IPU DMA: Fix wrong burstsize settings X-Git-Tag: v3.3-rc1~19^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99e78435342a65a6a0bf9b86f87fd05831858d2;p=pandora-kernel.git i.MX IPU DMA: Fix wrong burstsize settings The burstsize (npb in struct chan_param_mem) is set in ipu_ch_param_set_size() once. The number of allowed pixels in a burst depend on the pixel format and the rotation mode. For 16bit formats 16 pixels are allowed whereas for 32bit formats only 8 pixels are allowed. Set these values correctly in ipu_ch_param_set_size() and do not overwrite them afterwards. We do not support rotation right now, so ignore this case. This patch fixes the wrong burstsize setting of 16 pixels for 32bpp. Signed-off-by: Sascha Hauer Signed-off-by: Vinod Koul --- Reading git-diff-tree failed