Re: [RFC PATCH 02/12] soc: qcom: ipa: DMA helpers

From
Arnd Bergmann <arnd@arndb.de>
Date
2018-11-07 12:17:50
Also in
linux-arm-kernel, linux-arm-msm, linux-devicetree, lkml
Reply to
Alex Elder, 2018-11-07
On Wed, Nov 7, 2018 at 1:33 AM Alex Elder [off-list ref] wrote:
This patch includes code implementing the IPA DMA module, which
defines a structure to represent a DMA allocation for the IPA device.
It's used throughout the IPA code.

Signed-off-by: Alex Elder <redacted>
I looked through all the users of this and couldn't fine one that actually
benefits from it. I'd say better drop this patch entirely and open-code
the contents in the callers. That will help readability since the dma
API is well understood by many people.

Generally speaking, try not to wrap Linux interfaces into driver specific
helper functions.

      Arnd
Thread (37 messages) 37 messages, 5 authors, last reply 2018-11-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help