* Note that we don't check the return value from dma_set_coherent_mask() * as the DMA API guarantees that the coherent DMA mask can be set to * the same or smaller than the streaming DMA mask. */ static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask) { int...
Initialize coherent_dma_mask when creating SM501 subdevices to fix the problem. Fixes: b6d6454 ("mfd: SM501 core driver") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>groeck authored and Lee Jones committed Aug 16, 2018 1 ...
dma_mask = DMA_BIT_MASK(8 * sizeof(dma_addr_t)); if (dma_set_coherent_mask(dev->device, dma_mask)) { axidma_err("Unable to set the DMA coherent mask.\n"); goto device_cleanup; } Then the character device would be created. ...
dma-1 error dma_getitstatus dma setup auto-activate unable to set coherent dma mask dma test not applicable怎么办 dma_getcurrentmemorytarget dma timeout【乾坤NB分时买卖全息版】●解套降低成本●——【最牛分时T+0高抛低吸利器】 [金钻指标-技术共享交流论坛] ...