diff options
author | 2016-07-06 10:51:00 -0500 | |
---|---|---|
committer | 2016-07-06 17:51:32 -0500 | |
commit | 776165481d8ed956ccb92465f97ba727eed53e4c (patch) | |
tree | 36b5edba670e3735c169ca27ef3d0cf0f5e45eb9 /drivers/staging/greybus/connection.c | |
parent | greybus: Documentation: Document Authentication interfaces (diff) | |
download | linux-dev-776165481d8ed956ccb92465f97ba727eed53e4c.tar.xz linux-dev-776165481d8ed956ccb92465f97ba727eed53e4c.zip |
greybus: connection: remove CDSI1 hack
This hack is not necessary anymore since the firmware is now able to
handle correctly (dis)connect{ed,ing} operations on the CDSI CPort.
Testing Done: Checked that I could start the camera app several time
and got the preview each time.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r-- | drivers/staging/greybus/connection.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 632c8be43cf0..174a52d5f524 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -442,16 +442,6 @@ static int gb_connection_control_connected(struct gb_connection *connection) if (gb_connection_is_static(connection)) return 0; - /* - * HACK: Suppress connected request for the offloaded camera - * connection as it is currently not supported by firmware. Note that - * the corresponding non-fatal disconnected event is still sent. - */ - if (gb_connection_is_offloaded(connection) && - connection->flags & GB_CONNECTION_FLAG_CDSI1) { - return 0; - } - if (gb_connection_is_control(connection)) return 0; |