diff options
author | Fancy Fang <chen.fang@freescale.com> | 2014-05-12 05:38:16 -0400 |
---|---|---|
committer | Fancy Fang <chen.fang@freescale.com> | 2014-05-12 23:06:32 -0400 |
commit | 7cb5ee809f648c51ae84b1e99e0167ed3a431610 (patch) | |
tree | 1e321eb61027887596d1dcb2d1072092dbf063e3 | |
parent | a67cfbe56f566391b119363a966323f419bc79c2 (diff) |
ENGR00313080 ARM: imx6sl: fix the incorrect out_lrc settings of PXP when rot_pos==1
This is a typing error by mistake in a previous patch.
Obviously, the out_lrc settings should not be the same
between rot_pos == 0 and rot_pos == 1.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
-rw-r--r-- | drivers/dma/pxp/pxp_dma_v2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/pxp/pxp_dma_v2.c b/drivers/dma/pxp/pxp_dma_v2.c index cc881cde8847..5335846d572e 100644 --- a/drivers/dma/pxp/pxp_dma_v2.c +++ b/drivers/dma/pxp/pxp_dma_v2.c | |||
@@ -410,9 +410,9 @@ static void pxp_set_outbuf(struct pxps *pxp) | |||
410 | __raw_writel(out_params->paddr, pxp->base + HW_PXP_OUT_BUF); | 410 | __raw_writel(out_params->paddr, pxp->base + HW_PXP_OUT_BUF); |
411 | 411 | ||
412 | if (proc_data->rotate == 90 || proc_data->rotate == 270) { | 412 | if (proc_data->rotate == 90 || proc_data->rotate == 270) { |
413 | if (proc_data->rot_pos == 0) | 413 | if (proc_data->rot_pos == 1) |
414 | __raw_writel(BF_PXP_OUT_LRC_X(proc_data->drect.width - 1) | | 414 | __raw_writel(BF_PXP_OUT_LRC_X(proc_data->drect.height - 1) | |
415 | BF_PXP_OUT_LRC_Y(proc_data->drect.height - 1), | 415 | BF_PXP_OUT_LRC_Y(proc_data->drect.width - 1), |
416 | pxp->base + HW_PXP_OUT_LRC); | 416 | pxp->base + HW_PXP_OUT_LRC); |
417 | else | 417 | else |
418 | __raw_writel(BF_PXP_OUT_LRC_X(proc_data->drect.width - 1) | | 418 | __raw_writel(BF_PXP_OUT_LRC_X(proc_data->drect.width - 1) | |