linux/drivers/i3c/master
Jarkko Nikula b8806e0c93 i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
Fix following warning (with CONFIG_DMA_API_DEBUG) which happens with a
transfer without a data buffer.

	DMA-API: i3c mipi-i3c-hci.0: device driver tries to free DMA memory it has not allocated [device address=0x0000000000000000] [size=0 bytes]

For those transfers the hci_dma_queue_xfer() doesn't create a mapping and
the DMA address pointer xfer->data_dma is not set.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20230921055704.1087277-10-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-09-25 23:35:14 +02:00
..
mipi-i3c-hci i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer 2023-09-25 23:35:14 +02:00
ast2600-i3c-master.c i3c: Explicitly include correct DT includes 2023-07-27 23:23:41 +02:00
dw-i3c-master.c i3c: dw: Annotate struct dw_i3c_xfer with __counted_by 2023-09-25 23:32:33 +02:00
dw-i3c-master.h i3c: dw: Add a platform facility for IBI PEC workarounds 2023-04-28 08:20:07 +02:00
i3c-master-cdns.c i3c: master: cdns: Annotate struct cdns_i3c_xfer with __counted_by 2023-09-25 23:33:12 +02:00
Kconfig i3c: ast2600: Add AST2600 platform-specific driver 2023-04-28 08:19:01 +02:00
Makefile i3c: ast2600: Add AST2600 platform-specific driver 2023-04-28 08:19:01 +02:00
svc-i3c-master.c i3c: svc: Annotate struct svc_i3c_xfer with __counted_by 2023-09-25 23:34:05 +02:00