• Bjoern A. Zeeb's avatar
    dwc3: fix from not working · ec32fc2a
    Bjoern A. Zeeb authored
    During the review of 09cdf487 we
    switched from cached registers to reading them as needed.
    One read of the two reads was moved after the softreset got triggered
    and as a result returned 0 rather than the proper register value.
    Moving the read before the softreset gets initiated seems to make
    things work again and xhci.c no longer complains about
    "Controller does not support 4K page size.".
    
    MFC after:	10 days
    X-MFC with:	09cdf487
    Pointy hat to:	bz
    ec32fc2a