usb: musb: Fix broken use of static variable for multiple instances
We can't use static variable first for checking when musb is initialized when we have multiple musb instances like on am335x. Tested-by: NLadislav Michl <ladis@linux-mips.org> Reviewed-by: NJohan Hovold <johan@hovoldconsulting.com> Tested-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: NTony Lindgren <tony@atomide.com> Signed-off-by: NBin Liu <b-liu@ti.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录