greybus: fix cport-id defines
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 16:03:21 +0000 (18:03 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Thu, 3 Sep 2015 07:45:32 +0000 (09:45 +0200)
commit1dc53922655a1f2537488a9d52aa99d111f38f66
tree05a6bf64b3d7f7acc941751df3568460803c7598
parent239adcf6bd68dd7b1910f236e7f2854de535e7aa
greybus: fix cport-id defines

The CPORT_ID_MAX define has been used by host drivers as a device limit,
but also for sanity checks when parsing manifests.

Now that it's only used for sanity checks we can increase it to the
specification maximum (4095) and get rid of the config-option that could
be used to override the previous limit (128).

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/greybus.h