usb: chipidea: core: check before accessing ci_role in ci_role_show
ci_role BUGs when the role is >= CI_ROLE_END. This is the case while the role is changing. Signed-off-by: NMichael Thalmeier <michael.thalmeier@hale.at> Signed-off-by: NPeter Chen <peter.chen@nxp.com>
Showing
想要评论请 注册 或 登录