drivers: dma: Apply DMA callback change to relevant drivers
Now the dma device instance is passed as parameter to the callback. Fixes #26923 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
020dab824c
commit
6acee3dcba
19 changed files with 81 additions and 58 deletions
|
@ -18,7 +18,8 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/** DMA transfer callback */
|
||||
typedef void (*dma_callback)(void *arg, uint32_t channel, int error_code);
|
||||
typedef void (*dma_callback)(struct device *dev, void *arg,
|
||||
uint32_t channel, int error_code);
|
||||
|
||||
/* XDMA_MBR_UBC */
|
||||
#define XDMA_UBC_NDE (0x1u << 24)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue