diff options
| author | Cezary Rojewski <cezary.rojewski@intel.com> | 2026-06-03 10:58:26 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-04 17:00:26 +0100 |
| commit | f95ac7d0c7bdd2082fb97b2d32dda0e751e2683f (patch) | |
| tree | 7c5e41808d0ef2e0d41aa766b3b3637ab5ed56df /include/linux/timerqueue_types.h | |
| parent | 89f7afd3e26e678e52e2cc8e85a75b6c5491bb2a (diff) | |
ASoC: Intel: catpt: Drop manipulation of the obsolete direction flag
Setting up direction for struct dma_slave_config is obsolete, see the
description of the struct. The transfer performed by the catpt-driver
is also always DMA_MEM_TO_MEM not DMA_MEM_TO_DEV with preparation step
being dmaengine_prep_dma_memcpy().
DW's ->device_prep_dma_memcpy() always fixes the direction to
DMA_MEM_TO_MEM even if its user fails to do so, see
drivers/dma/dw/core.c. While the change impacts number of checks done
by ->device_config() - p/m buswidth checks are skipped - fields being
fixed up in those i.e.: .dst_addr_width and .src_addr_width, do not take
part in DMA_MEM_TO_MEM transfer.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260603085827.1964796-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
