[PATCH V4 13/14] i3c: mipi-i3c-hci: Factor out i3c_hci_sysdev()

Mukesh Savaliya mukesh.savaliya at oss.qualcomm.com
Thu Aug 6 12:07:21 PDT 2026



On 8/6/2026 6:48 PM, Adrian Hunter wrote:
> The MIPI I3C HCI driver needs to identify the underlying system device
> used for DMA mapping and PM operations. The logic for determining that
> device is currently embedded in the DMA implementation.
> 
> Factor this code out into i3c_hci_sysdev() so it can be shared by other
> parts of the driver and keep the device-selection logic in one place.
> 
> The explanatory comment moves with the code, reworked as kernel-doc now
> that it documents a function rather than an inline block.
> 
> Signed-off-by: Adrian Hunter <adrian.hunter at intel.com>
> ---

Acked-by: Mukesh Savaliya <mukesh.savaliya at oss.qualcomm.com>



More information about the linux-i3c mailing list