diff options
author | Tony Lindgren <tony@atomide.com> | 2016-11-16 22:21:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-17 18:25:39 +0300 |
commit | c723bd6ec2b50e7c8b3424d9cb8febd8ffa3da1f (patch) | |
tree | dea28900666d75706f1a5056410ef9086317c1b5 /drivers/usb/musb/musb_gadget.c | |
parent | a5d906bb261cde5f881a949d3b0fbaa285dcc574 (diff) | |
download | linux-c723bd6ec2b50e7c8b3424d9cb8febd8ffa3da1f.tar.xz |
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: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
0 files changed, 0 insertions, 0 deletions