aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 858e992729c9..7fe6f664054f 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -762,11 +762,11 @@ static void xhci_restore_registers(struct xhci_hcd *xhci)
762{ 762{
763 writel(xhci->s3.command, &xhci->op_regs->command); 763 writel(xhci->s3.command, &xhci->op_regs->command);
764 writel(xhci->s3.dev_nt, &xhci->op_regs->dev_notification); 764 writel(xhci->s3.dev_nt, &xhci->op_regs->dev_notification);
765 xhci_write_64(xhci, xhci->s3.dcbaa_ptr, &xhci->op_regs->dcbaa_ptr); 765 writeq(xhci->s3.dcbaa_ptr, &xhci->op_regs->dcbaa_ptr);
766 writel(xhci->s3.config_reg, &xhci->op_regs->config_reg); 766 writel(xhci->s3.config_reg, &xhci->op_regs->config_reg);
767 writel(xhci->s3.erst_size, &xhci->ir_set->erst_size); 767 writel(xhci->s3.erst_size, &xhci->ir_set->erst_size);
768 xhci_write_64(xhci, xhci->s3.erst_base, &xhci->ir_set->erst_base); 768 writeq(xhci->s3.erst_base, &xhci->ir_set->erst_base);
769 xhci_write_64(xhci, xhci->s3.erst_dequeue, &xhci->ir_set->erst_dequeue); 769 writeq(xhci->s3.erst_dequeue, &xhci->ir_set->erst_dequeue);
770 writel(xhci->s3.irq_pending, &xhci->ir_set->irq_pending); 770 writel(xhci->s3.irq_pending, &xhci->ir_set->irq_pending);
771 writel(xhci->s3.irq_control, &xhci->ir_set->irq_control); 771 writel(xhci->s3.irq_control, &xhci->ir_set->irq_control);
772} 772}
@@ -785,7 +785,7 @@ static void xhci_set_cmd_ring_deq(struct xhci_hcd *xhci)
785 xhci_dbg_trace(xhci, trace_xhci_dbg_init, 785 xhci_dbg_trace(xhci, trace_xhci_dbg_init,
786 "// Setting command ring address to 0x%llx", 786 "// Setting command ring address to 0x%llx",
787 (long unsigned long) val_64); 787 (long unsigned long) val_64);
788 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); 788 writeq(val_64, &xhci->op_regs->cmd_ring);
789} 789}
790 790
791/* 791/*