]> git.baikalelectronics.ru Git - kernel.git/commit
staging: et131x: Remove alignment offset padding on DMA buffer allocation/free
authorMark Einon <mark.einon@gmail.com>
Fri, 16 Nov 2012 10:47:38 +0000 (10:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:57:27 +0000 (13:57 -0800)
commitf2924887c855fb60c3c7d8ef0321ebffcb5efbd0
treef05a93f8ab2263d9b7180e22cfa92db4c12f5859
parent1f00f34cb95fdaca60caeca2fa38a92ce0c25a42
staging: et131x: Remove alignment offset padding on DMA buffer allocation/free

This padding was used to align buffers to a 4k boundary when returned
from dma_alloc_coherent(). As the buffers are already 4k aligned, and
the alignment no longer performed, the padding is not needed.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c