]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: es1.c: wait until the last possible minute to start the svc messages
authorGreg Kroah-Hartman <greg@kroah.com>
Thu, 22 Jan 2015 13:19:25 +0000 (21:19 +0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 23 Jan 2015 14:55:57 +0000 (22:55 +0800)
commit45a706368d9b162dde2455c305158131af37131d
treec96db19c10ad0188a25c013fde34051ab5b596e8
parente0b179ee782d80b31ccfe8cbcb1505cb703dfdbc
greybus: es1.c: wait until the last possible minute to start the svc messages

When initializing the USB device, we were starting up the svc message
queue before the cport urbs were allocated.  This might not be an issue
for "slower" machines, but not having any allocated urbs for a cport
might be an issue if we were to handle svc messages.

So wait until everything is properly initialized and allocated before
starting the svc urb.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1.c