[openEuler-5.10 409/557] usb: gadget: hid: fix error code in do_config()