one kernel panic issue found in product_show , due to
dwc3_otg_init() use uninitialized local variable partner to call typec_register_partner,
it result in partner->identity is setted with unexpected value.
reproduce steps: adb shell cat /sys/class/typec/port0-partner/identity/product
Change-Id: Id0e2d04c20b510563b8b0a0ef786ba4e89d6a50c
#if defined(CONFIG_TYPEC_DEFAULT)
struct intf_typec *typec;
struct typec_partner_desc partner;
+ memset(&partner, 0x00, sizeof(partner));
#endif
dev_info(dwc->dev, "%s\n", __func__);