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
|
@ -20,8 +20,8 @@ struct dma_stm32_stream {
|
|||
uint32_t src_size;
|
||||
uint32_t dst_size;
|
||||
void *callback_arg; /* holds the client data */
|
||||
void (*dma_callback)(void *arg, uint32_t id,
|
||||
int error_code);
|
||||
void (*dma_callback)(struct device *dev, void *arg,
|
||||
uint32_t id, int error_code);
|
||||
};
|
||||
|
||||
struct dma_stm32_data {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue