diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-01 14:58:51 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2011-12-08 08:29:03 +0100 |
commit | c99e78435342a65a6a0bf9b86f87fd05831858d2 (patch) | |
tree | b9aa68bc64326a819e0550c85bb4483a90b81b43 /drivers/block/aoe | |
parent | dmaengine/ste_dma40: allow fixed physical channel (diff) | |
download | linux-c99e78435342a65a6a0bf9b86f87fd05831858d2.tar.xz linux-c99e78435342a65a6a0bf9b86f87fd05831858d2.zip |
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 <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/block/aoe')
0 files changed, 0 insertions, 0 deletions