greybus: camera: fix data-connection handling
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 11 May 2016 08:18:06 +0000 (10:18 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 13 May 2016 13:32:48 +0000 (15:32 +0200)
commit3ba9fa5c9220e5a6dbbe0b88fc40f857f299b040
tree0e3fec209fccade816a0298b0f44421e49c7595f
parent3b05d8508f82fc18fe7ef0618671c0603c490c0d
greybus: camera: fix data-connection handling

Now that core supports offloaded connections, we can remove the hack
that was used to setup the data connection.

Note that offloaded-resource management may need to be refined later,
but the current minimal implementation is enough to allow core to manage
the connections (e.g. needed for proper connection tear down and power
management).

This will also allow the camera driver to be converted to a bundle
driver.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c