Re: [PATCH] usb: dwc3-meson-g12a: always configure dr-mode

2020-12-14 Thread Neil Armstrong
Hi, On 14/12/2020 12:34, Marek Szyprowski wrote: > dwc3_meson_g12a_force_mode() sets the dr-mode of the USB PHY. However > it skips setting the mode if it matches the one done during driver probe > (stored in private structure). This fails if the mode has been changed > to other value and then bac

[PATCH] usb: dwc3-meson-g12a: always configure dr-mode

2020-12-14 Thread Marek Szyprowski
dwc3_meson_g12a_force_mode() sets the dr-mode of the USB PHY. However it skips setting the mode if it matches the one done during driver probe (stored in private structure). This fails if the mode has been changed to other value and then back to initial one. Fix this by configuring the dr-mode alwa