On Friday 12 October 2007, Brandon Philips wrote: > Reviewing the dynctrl code and this looks like an obvious fix. :) > > Signed-off-by: Brandon Philips <[EMAIL PROTECTED]> > > --- > uvc_v4l2.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > Index: uvc/uvc_v4l2.c > =================================================================== > --- uvc.orig/uvc_v4l2.c > +++ uvc/uvc_v4l2.c > @@ -941,11 +941,11 @@ static int uvc_v4l2_do_ioctl(struct inod > map->id = xmap->id; > memcpy(map->name, xmap->name, sizeof map->name); > memcpy(map->entity, xmap->entity, sizeof map->entity); > - map->selector = map->selector; > - map->size = map->size; > - map->offset = map->offset; > - map->v4l2_type = map->v4l2_type; > - map->data_type = map->data_type; > + map->selector = xmap->selector; > + map->size = xmap->size; > + map->offset = xmap->offset; > + map->v4l2_type = xmap->v4l2_type; > + map->data_type = xmap->data_type; > > ret = uvc_ctrl_add_mapping(map); > if (ret < 0)
Thanks. Applied. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
