In VirtQueue_create, clear the VRING_USED_F_NO_NOTIFY flag to ensure all VirtQueue_ki...
authorVW <vwan@ti.com>
Mon, 29 Apr 2013 18:38:46 +0000 (11:38 -0700)
committerVW <vwan@ti.com>
Tue, 30 Apr 2013 17:28:06 +0000 (10:28 -0700)
packages/ti/ipc/family/omap54xx/VirtQueue.c
packages/ti/ipc/family/vayu/VirtQueue.c

index 77ce58f689401fc3ad608761e0890ee2e41740dd..8c7dd5579828192ecd00f40484a158f0d240dc27 100644 (file)
@@ -554,7 +554,7 @@ VirtQueue_Handle VirtQueue_create(UInt16 remoteProcId, VirtQueue_Params *params,
      *  available
      */
     if (vq->procId == hostProcId) {
      *  available
      */
     if (vq->procId == hostProcId) {
-        vq->vring.used->flags |= VRING_USED_F_NO_NOTIFY;
+        vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY;
     }
 
     queueRegistry[vq->id] = vq;
     }
 
     queueRegistry[vq->id] = vq;
index b1bccc366f57112934c9e5d7188f57c32687d6bb..8d3b4c4a8824a16926c3b8211d181ec0f61a5b2d 100644 (file)
@@ -563,7 +563,7 @@ VirtQueue_Handle VirtQueue_create(UInt16 remoteProcId, VirtQueue_Params *params,
      *  available
      */
     if (vq->procId == hostProcId) {
      *  available
      */
     if (vq->procId == hostProcId) {
-        vq->vring.used->flags |= VRING_USED_F_NO_NOTIFY;
+        vq->vring.used->flags &= ~VRING_USED_F_NO_NOTIFY;
     }
 
     queueRegistry[vq->id] = vq;
     }
 
     queueRegistry[vq->id] = vq;