Open kernel-guy opened 1 year ago
https://github.com/Xilinx/dma_ip_drivers/blob/9f02769a2eddde008158c96efa39d7edb6512578/QDMA/linux-kernel/driver/libqdma/qdma_context.c#L86
sw_ctxt->is_mm = ~descq->conf.st;
-->
sw_ctxt->is_mm = !descq->conf.st;
negate conf.st rather than bitwise inversion
https://github.com/Xilinx/dma_ip_drivers/blob/9f02769a2eddde008158c96efa39d7edb6512578/QDMA/linux-kernel/driver/libqdma/qdma_context.c#L86
-->
negate conf.st rather than bitwise inversion