projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11ca550
)
greybus: Revert "camera: Fix backword compatibility in configure streams"
author
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 15 Jan 2016 22:41:02 +0000
(14:41 -0800)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 15 Jan 2016 22:41:02 +0000
(14:41 -0800)
This reverts commit
48cc91e52dba9abad4c9b56f911994c65071bfc4
as the
caller should be changed instead.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/camera.c
b/drivers/staging/greybus/camera.c
index
8b21433
..
deb55da
100644
(file)
--- a/
drivers/staging/greybus/camera.c
+++ b/
drivers/staging/greybus/camera.c
@@
-352,8
+352,6
@@
static int gb_camera_op_configure_streams(void *priv, unsigned int nstreams,
streams[i].pixel_code =
gb_camera_gb_to_mbus(gb_streams[i].format);
}
- /* For backward compatibility return number of streams in ret code */
- ret = nstreams;
done:
kfree(gb_streams);