[PATCH 5.15 591/620] usb: gadget: Set self-powered based on MaxPower and bmAttributes