greybus: es2: get cport count from apb1 usb device
authorFabien Parent <fparent@baylibre.com>
Wed, 2 Sep 2015 13:50:37 +0000 (15:50 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 14:25:24 +0000 (16:25 +0200)
commit24a6112fa53e8a08de21b063abb22d10c2595048
tree3de097c167bfa0662dd54e57af547067af82f482
parentc011d558e19aa9b6bb739426f5553bf3e1ad5a69
greybus: es2: get cport count from apb1 usb device

Use the control request REQUEST_CPORT_COUNT in order to get the number of
CPorts supported by the UniPro IP.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/es2.c