greybus: es2: separate urb allocation and submission
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 4 Nov 2015 17:55:14 +0000 (18:55 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 5 Nov 2015 04:35:18 +0000 (20:35 -0800)
commit0ce68ce41779c353be780f635234a446ea30c49d
tree13b6121dd4f3f6acde8d49fe1e5a5ea8bf8d1af6
parentb6d808525aef6703f2bf7662c7ef99f5e7349bb4
greybus: es2: separate urb allocation and submission

Refactor in-urb submission, and make sure to separate allocation and
submission.

Eventually we'll be submitting the urbs at cport enable rather than at
probe, and this is also needed for the driver-model rework.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c