usb: dwc_otg_310: covert dsb() to dsb(sy)
authorHuang, Tao <huangtao@rock-chips.com>
Wed, 10 Dec 2014 11:36:30 +0000 (19:36 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 10 Dec 2014 11:36:30 +0000 (19:36 +0800)
drivers/usb/dwc_otg_310/common_port/dwc_common_linux.c

index b9da543e8004ea3a63ba0e2ec5e73d044bbc5499..f729139257d69511b09f1a4a687771ae165566b3 100755 (executable)
@@ -594,7 +594,7 @@ uint64_t DWC_READ_REG64(volatile uint64_t *reg)
 void DWC_WRITE_REG32(volatile uint32_t *reg, uint32_t value)
 {
        writel_relaxed(value, reg);
-       dsb();
+       dsb(sy);
 }
 
 #if 0
@@ -606,7 +606,7 @@ void DWC_WRITE_REG64(volatile uint64_t *reg, uint64_t value)
 void DWC_MODIFY_REG32(volatile uint32_t *reg, uint32_t clear_mask, uint32_t set_mask)
 {
        writel_relaxed((readl_relaxed(reg) & ~clear_mask) | set_mask, reg);
-       dsb();
+       dsb(sy);
 }
 
 #if 0