Commit b55d9431 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: Revert "camera: Fix backword compatibility in configure streams"

This reverts commit 48cc91e52dba9abad4c9b56f911994c65071bfc4 as the
caller should be changed instead.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 11ca550c
...@@ -352,8 +352,6 @@ static int gb_camera_op_configure_streams(void *priv, unsigned int nstreams, ...@@ -352,8 +352,6 @@ static int gb_camera_op_configure_streams(void *priv, unsigned int nstreams,
streams[i].pixel_code = streams[i].pixel_code =
gb_camera_gb_to_mbus(gb_streams[i].format); gb_camera_gb_to_mbus(gb_streams[i].format);
} }
/* For backward compatibility return number of streams in ret code */
ret = nstreams;
done: done:
kfree(gb_streams); kfree(gb_streams);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment