[PATCH openEuler-5.10 13/29] usb: dwc2: check return value after calling platform_get_resource()