e965119cd9
Add typecasting in dma QMSI shim to avoid compilation error. The DMA API and QMSI have their own definitions for the dma configuration parameters, such as handshake_interface, handshake_polarity, source/destination_transfer_width, channel_direction, and source/destination_burst_length. When a API is called, the shim driver will assign values for the above-mentioned parameters to the configuration variable(based on QMSI's definiton) from the values in the variable provided by the caller based on API's definition. Even though all these parameters have similiar definition and values in both the generic API and QMSI, QMSI uses its own names which are different from those definied in the generic API. Without typecasting, the parameter value assignment will cause compilation error(even though error only happens for some compiler). Jira: ZEP-1031 Change-Id: I147c690799514bd611cd9f88316f44346e095359 Signed-off-by: Baohong Liu <baohong.liu@intel.com> |
||
---|---|---|
.. | ||
dma_qmsi.c | ||
Kconfig | ||
Makefile |