usb: dwc2: Make dwc2_readl/writel functions endianness-agnostic.
PATCH v2 3/3 usb: dwc2: Make dwc2_readl/writel functions endianness-agnostic.
hi,
Quoted 4 lines · Grigor Tovmasyan
Quoted 4 lines
(quoted diff) +0
-0@@ -395,6 +412,8 @@ static int dwc2_driver_probe(struct platform_device *dev) dev_dbg(&dev->dev, "mapped PA %08lx to VA %p\n", (unsigned long)res->start, hsotg->regs);
Quoted 8 lines
Review static int dwc2_driver_probe(struct platform_device *dev) · line 419
Quoted 6 lines
(quoted diff) +2
-0+ hsotg->needs_byte_swap = dwc2_check_core_endianness(hsotg); + retval = dwc2_lowlevel_hw_init(hsotg); if (retval) return retval;I believe this one will work :)
perfectly, I'll push it shortly
Quoted 1 line
Sorry for inconvenience.
not at all ;) Thanks