Xilinx / dma_ip_drivers

Xilinx QDMA IP Drivers
https://xilinx.github.io/dma_ip_drivers/
578 stars 420 forks source link

Shouldn't this line be 'sw_ctxt->is_mm = !descq->conf.st;' #225

Open kernel-guy opened 1 year ago

kernel-guy commented 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