Paul,^^^^
Thanks for your help. You were right. There was a version mismatch
between my header files and I got it fixed. I could compile all
related dma modules including async modules. However, I cannot use dma
engine because I receive following error when I run my code,
"__dma_request_channel: fail ((null))". Even I tried
Documentation/crypto/async-tx-api.txt but it turns out that when I
issue a transaction such that "async_memcpy" and I wait for
transaction to be completed by "wait_for_completion", it is never
completed. Is this problem related to my machine or my code?
Here is my code:
struct async_submit_ctl submit;
struct completion cmp;
init_completion(&cmp);
init_async_submit(&submit, flag, NULL, NULL,&cmp, addr_conv);
dma_cap_mask_t myMask;
dma_cap_zero(myMask);
dma_cap_set(DMA_PRIVATE, myMask); //I tried different combination of
flags like DMA_MEMCPY ,....
myDMAChannel = dma_request_channel(myMask, NULL, filter_param);
myDMAChannel is always NULL.