greybus: es2: update the bulk_ep_set value accepted by map_to_cpor_ep()
authorAlexandre Bailon <abailon@baylibre.com>
Fri, 4 Sep 2015 14:55:42 +0000 (16:55 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 4 Sep 2015 21:49:09 +0000 (14:49 -0700)
commit566830fdb1b666b5159709a9e66ed5f2c85f58b7
tree07517997ec22c745fd3c33d7b7e590bdee073ecf
parent8afd831ea00822fdc811ff640ef62352619d64c0
greybus: es2: update the bulk_ep_set value accepted by map_to_cpor_ep()

The endpoint set 0 is currently considered as invalid.
But 0 mean muxed cports on ep1 and ep2,
then it must not return -EINVAL.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c