forked from Minki/linux
[media] s5p-mfc: remove meaningless memory bank assignment
This patch removes meaningless assignment of memory bank to itself. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Acked-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
d0ce898c39
commit
ad7f22b55d
@ -44,8 +44,6 @@ int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
dev->bank1 = dev->bank1;
|
||||
|
||||
if (HAS_PORTNUM(dev) && IS_TWOPORT(dev)) {
|
||||
bank2_virt = dma_alloc_coherent(dev->mem_dev_r, 1 << MFC_BASE_ALIGN_ORDER,
|
||||
&bank2_dma_addr, GFP_KERNEL);
|
||||
|
Loading…
Reference in New Issue
Block a user