greybus: manifest: check for duplicate CPort descriptors when parsing
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 21 Jan 2016 16:34:10 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jan 2016 06:45:09 +0000 (22:45 -0800)
commitd6fba3dbb04dac64cf7fa6d33ea7fce81ecf862c
tree91e32385c2fdd61f124670ead978bb17f29184a1
parent98fdf5a037f0789f1ea6e22431a4a4cc7c41829d
greybus: manifest: check for duplicate CPort descriptors when parsing

Now that connection creation has been separated from interface
initialisation, we should explicitly check for duplicate CPort
descriptors when parsing the manifest.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/manifest.c