瀏覽代碼

firewire: Fix another typo from the bitfield conversion.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Kristian Høgsberg 18 年之前
父節點
當前提交
cbb59da719
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      drivers/firewire/fw-ohci.c

+ 4 - 4
drivers/firewire/fw-ohci.c

@@ -1352,10 +1352,10 @@ ohci_queue_iso(struct fw_iso_context *base,
 	else
 	else
 		irq = descriptor_no_irq;
 		irq = descriptor_no_irq;
 
 
-	last->control = cpu_to_le16(descriptor_output_last |
-				    descriptor_status |
-				    descriptor_branch_always |
-				    irq);
+	last->control |= cpu_to_le16(descriptor_output_last |
+				     descriptor_status |
+				     descriptor_branch_always |
+				     irq);
 
 
 	dma_sync_single_for_device(ohci->card.device, ctx->buffer_bus,
 	dma_sync_single_for_device(ohci->card.device, ctx->buffer_bus,
 				   ISO_BUFFER_SIZE, DMA_TO_DEVICE);
 				   ISO_BUFFER_SIZE, DMA_TO_DEVICE);