[PATCH v2][for_v3.5] media: mx2_camera: Fix mbus format handling

2012-06-01 Thread Javier Martin
Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags so that the driver can negotiate with the attached sensor whether the mbus format needs convertion from UYUV to YUYV or not. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Previous version of this patch was requested to

Re: [PATCH v2][for_v3.5] media: mx2_camera: Fix mbus format handling

2012-06-01 Thread javier Martin
Sorry, forget about this patch. I've just read that there is a merge conflict too. I will send a v3 to address this also. On 1 June 2012 10:28, Javier Martin javier.mar...@vista-silicon.com wrote: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags so that the driver can negotiate with

[PATCH v3][for_v3.5] media: mx2_camera: Fix mbus format handling

2012-06-01 Thread Javier Martin
Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags so that the driver can negotiate with the attached sensor whether the mbus format needs convertion from UYUV to YUYV or not. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Fix pass-through mode as requested by Guennadi.

Re: [PATCH] video: mx2_camera: Fix build error due to the lack of 'pixfmt' definition

2012-06-01 Thread javier Martin
Hi Fabio, On 22 May 2012 00:10, Fabio Estevam fabio.este...@freescale.com wrote: commit d509835 ([media] media: mx2_camera: Fix mbus format handling) caused the following build error: drivers/media/video/mx2_camera.c:1032:42: error: 'pixfmt' undeclared (first use in this function) make[4]:

[PATCH 0/5] UVC webcam gadget related changes

2012-06-01 Thread Bhupesh Sharma
This patchset tries to take the UVC webcam gadget one step closer to being used with a real V4L2 video capture device (via a user-space application which is responsible for ensuring correct sequence of operations being performed on both UVC gadget and V4L2 capture device end). A major change

[PATCH 1/5] usb: gadget/uvc: Fix string descriptor STALL issue when multiple uvc functions are added to a configuration

2012-06-01 Thread Bhupesh Sharma
This patch solved the string descriptor STALL issue when we add multiple UVC functions in a single configuration using a 'webcam.c' like composite driver. Signed-off-by: Bhupesh Sharma bhupesh.sha...@st.com --- drivers/usb/gadget/f_uvc.c | 38 ++ 1 files

[PATCH 2/5] usb: gadget/uvc: Use macro for interrupt endpoint status size instead of using a MAGIC number

2012-06-01 Thread Bhupesh Sharma
This patch adds a MACRO for the UVC video control status (interrupt) endpoint and removes the magic number which was being used earlier. Some UDCs have issues supporting an interrupt IN endpoint having a max packet size less than a particular value (say 32). It is easier in that case to simply

[PATCH 3/5] usb: gadget/uvc: Add super-speed support to UVC webcam gadget

2012-06-01 Thread Bhupesh Sharma
This patch adds super-speed support to UVC webcam gadget. Also in this patch: - We add the configurability to pass bInterval, bMaxBurst, mult factors for video streaming endpoint (ISOC IN) through module parameters. - We use config_ep_by_speed helper routine

[PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-06-01 Thread Bhupesh Sharma
This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a real V4L2 video capture device with a zero copy operation on videobuffers (as they

[PATCH 5/5] usb: gadget/uvc: Add support for 'USB_GADGET_DELAYED_STATUS' response for a set_intf(alt-set 1) command

2012-06-01 Thread Bhupesh Sharma
This patch adds the support in UVC webcam gadget design for providing USB_GADGET_DELAYED_STATUS in response to a set_interface(alt setting 1) command issue by the Host. The current UVC webcam gadget design generates a STREAMON event corresponding to a set_interface(alt setting 1) command from the

Re: Support for old Intel webcam

2012-06-01 Thread Hans de Goede
Hi, On 05/29/2012 08:46 PM, Jason Miller wrote: I have an old Intel webcam that shows up as: Bus 002 Device 005: ID 8086:0431 Intel Corp. Intel Pro Video PC Camera My hazy memory says that this used to work on linux with the spca_50x driver, though I think I had to add the vendor/device ID

cron job: media_tree daily build: WARNINGS

2012-06-01 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Fri Jun 1 19:00:21 CEST 2012 git hash:5472d3f17845c4398c6a510b46855820920c2181 gcc version: i686-linux-gcc

Fwd: [Bug 827538] DVB USB device firmware requested in module_init()

2012-06-01 Thread Antti Palosaari
Original Message Subject: [Bug 827538] DVB USB device firmware requested in module_init() Date: Fri, 01 Jun 2012 19:44:17 + From: bugzi...@redhat.com To: cr...@iki.fi https://bugzilla.redhat.com/show_bug.cgi?id=827538 Kay Sievers k...@redhat.com changed: What

[PATCH] cx231xx: Paranoic memory save

2012-06-01 Thread Peter Senna Tschudin
This patch saves 255 bytes of memory on cx231xx_usb_probe() by removing a char array. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index 8ed460d..02d4d36 100644 ---