[PATCH 5.4 319/328] usb: gadget: Set self-powered based on MaxPower and bmAttributes