Remove debug prints
This commit is contained in:
@@ -97,20 +97,6 @@ load_entity_ids(libmegapixels_camera *camera)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < topology.num_links; i++) {
|
for (int i = 0; i < topology.num_links; i++) {
|
||||||
log_error("Link %d flags", i);
|
|
||||||
if (links[i].flags & MEDIA_LNK_FL_ENABLED) {
|
|
||||||
fprintf(stderr, " [enabled]");
|
|
||||||
}
|
|
||||||
if (links[i].flags & MEDIA_LNK_FL_IMMUTABLE) {
|
|
||||||
fprintf(stderr, " [immutable]");
|
|
||||||
}
|
|
||||||
if (links[i].flags & MEDIA_LNK_FL_DYNAMIC) {
|
|
||||||
fprintf(stderr, " [dynamic]");
|
|
||||||
}
|
|
||||||
if (links[i].flags & MEDIA_LNK_FL_INTERFACE_LINK) {
|
|
||||||
fprintf(stderr, " [interface-link]");
|
|
||||||
}
|
|
||||||
fprintf(stderr, "\n");
|
|
||||||
if (links[i].flags & MEDIA_LNK_FL_ENABLED && !(links[i].flags & MEDIA_LNK_FL_IMMUTABLE)) {
|
if (links[i].flags & MEDIA_LNK_FL_ENABLED && !(links[i].flags & MEDIA_LNK_FL_IMMUTABLE)) {
|
||||||
uint32_t source_entity, sink_entity;
|
uint32_t source_entity, sink_entity;
|
||||||
for (int j = 0; j < topology.num_pads; j++) {
|
for (int j = 0; j < topology.num_pads; j++) {
|
||||||
@@ -199,7 +185,6 @@ libmegapixels_select_mode(libmegapixels_camera *camera, libmegapixels_mode *mode
|
|||||||
for (int i = 0; i < mode->num_cmds; i++) {
|
for (int i = 0; i < mode->num_cmds; i++) {
|
||||||
libmegapixels_cmd *cmd = mode->cmds[i];
|
libmegapixels_cmd *cmd = mode->cmds[i];
|
||||||
struct v4l2_subdev_format subdev_fmt = {};
|
struct v4l2_subdev_format subdev_fmt = {};
|
||||||
fprintf(stderr, "Do %d\n", cmd->type);
|
|
||||||
switch (cmd->type) {
|
switch (cmd->type) {
|
||||||
case LIBMEGAPIXELS_CMD_LINK:
|
case LIBMEGAPIXELS_CMD_LINK:
|
||||||
if (setup_link(camera, cmd->entity_from_id, cmd->entity_to_id, 1) != 0) {
|
if (setup_link(camera, cmd->entity_from_id, cmd->entity_to_id, 1) != 0) {
|
||||||
|
Reference in New Issue
Block a user