|
@@ -184,7 +184,7 @@ static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx)
|
|
|
ret = s5p_mfc_alloc_priv_buf(dev->mem_dev_r, &ctx->bank2);
|
|
|
if (ret) {
|
|
|
mfc_err("Failed to allocate Bank2 temporary buffer\n");
|
|
|
- s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->bank1);
|
|
|
+ s5p_mfc_release_priv_buf(ctx->dev->mem_dev_l, &ctx->bank1);
|
|
|
return ret;
|
|
|
}
|
|
|
BUG_ON(ctx->bank2.dma & ((1 << MFC_BANK2_ALIGN_ORDER) - 1));
|