In cases where the new xhci hooks are unimplemented, ctx->bytes may never be initialized, leading to null pointer crashes. Fix this by only calling xhci_vendor_alloc/free_container_ctx when the corresponding hook is present. Bug: 185191548 Signed-off-by: J. Avila <elavila@google.com> Change-Id: Ia77b0815ddc8bc340a286731558c754c779e883a
79 KiB
79 KiB