[PATCH 6.12 220/269] usb: gadget: Set self-powered based on MaxPower and bmAttributes