mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
usb: dwc_otg_310: covert dsb() to dsb(sy)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user