Re: [PATCH] [media] mceusb: Optimize DIV_ROUND_CLOSEST call

2012-09-18 Thread Guenter Roeck
On Tue, Sep 18, 2012 at 08:35:09PM +0200, Jean Delvare wrote: > Hi Mauro, > > On Tue, 18 Sep 2012 12:49:53 -0300, Mauro Carvalho Chehab wrote: > > Em 01-09-2012 15:53, Jean Delvare escreveu: > > > DIV_ROUND_CLOSEST is faster if the compiler knows it will only be > > > dealing with unsigned dividen

Re: [PATCH 4/5] video:omap3isp:fix up ENOIOCTLCMD error handling

2012-09-18 Thread Laurent Pinchart
Hi Mauro, On Saturday 15 September 2012 13:24:37 Mauro Carvalho Chehab wrote: > Em Thu, 13 Sep 2012 06:03:21 +0200 Laurent Pinchart escreveu: > > On Monday 27 August 2012 15:23:15 Wanlong Gao wrote: > > > At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be > > > translated as ENOTTY t

Re: [PATCH] Support for Asus MyCinema U3100Mini Plus

2012-09-18 Thread Antti Palosaari
On 09/17/2012 06:20 PM, Oliver Schinagl wrote: On 17-09-12 15:52, Antti Palosaari wrote: On 09/17/2012 04:26 PM, Oliver Schinagl wrote: On 17-09-12 15:16, Antti Palosaari wrote: On 09/17/2012 04:02 PM, Oliver Schinagl wrote: On 17-09-12 10:25, Oliver Schinagl wrote: On 17-09-12 01:36, Antti

Re: [PATCH] Support for Asus MyCinema U3100Mini Plus

2012-09-18 Thread Antti Palosaari
On 09/18/2012 08:18 PM, Oliver Schinagl wrote: On 09/17/12 23:57, Oliver Schinagl wrote: On 09/17/12 23:07, Antti Palosaari wrote: On 09/17/2012 11:43 PM, Oliver Schinagl wrote: On 09/17/12 17:20, Oliver Schinagl wrote: If tuner communication is really working and it says chip id is 0x5a the

Re: [PATCH] Support for Asus MyCinema U3100Mini Plus (attempt 2)

2012-09-18 Thread Antti Palosaari
On 09/19/2012 01:22 AM, oli...@schinagl.nl wrote: From: Oliver Schinagl This is initial support for the Asus MyCinema U3100Mini Plus. The driver in its current form gets detected and loads properly. It uses the af9035 USB Bridge chip, with an af9033 demodulator. The tuner used is the FCI FC2580

[PATCH] Support for Asus MyCinema U3100Mini Plus (attempt 2)

2012-09-18 Thread oliver
From: Oliver Schinagl This is initial support for the Asus MyCinema U3100Mini Plus. The driver in its current form gets detected and loads properly. It uses the af9035 USB Bridge chip, with an af9033 demodulator. The tuner used is the FCI FC2580. I have only done a quick dvb scan, but it failed

Re: [PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Cody P Schafer
On Tue 18 Sep 2012 03:02:42 AM PDT, Venu Byravarasu wrote: -Original Message- From: Shubhrajyoti Datta [mailto:omaplinuxker...@gmail.com] Sent: Tuesday, September 18, 2012 3:30 PM To: Venu Byravarasu Cc: Shubhrajyoti D; linux-media@vger.kernel.org; linux- ker...@vger.kernel.org; julia.law

Re: [PATCH] Support for Asus MyCinema U3100Mini Plus

2012-09-18 Thread Oliver Schinagl
On 09/17/12 23:57, Oliver Schinagl wrote: On 09/17/12 23:07, Antti Palosaari wrote: On 09/17/2012 11:43 PM, Oliver Schinagl wrote: On 09/17/12 17:20, Oliver Schinagl wrote: If tuner communication is really working and it says chip id is 0x5a then it is different than driver knows. It could be

Re: Terratec Cinergy T PCIe Dual doesn;t work nder the Xen hypervisor

2012-09-18 Thread Javier Marcet
On Tue, Sep 18, 2012 at 8:56 PM, Devin Heitmueller wrote: >> You can see the original thread where this was found, together with a >> working patch, here: >> >> http://lists.xen.org/archives/html/xen-devel/2012-01/msg01927.html > > As far as I can read, the patch has never been confirmed to work.

cron job: media_tree daily build: ERRORS

2012-09-18 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:Tue Sep 18 19:00:24 CEST 2012 git hash:4313902ebe33155209472215c62d2f29d117be29 gcc version: i686-linux-gcc (GC

Re: Terratec Cinergy T PCIe Dual doesn;t work nder the Xen hypervisor

2012-09-18 Thread Devin Heitmueller
On Tue, Sep 18, 2012 at 2:34 PM, Javier Marcet wrote: > I can't say how happy I am that you were wrong in your guess. Quoting > Konrad Rzeszutek Wilk: Well, you haven't proven me wrong yet. :-) > """ > The issue as I understand is that the DVB drivers allocate their > buffers from 0->4GB most (

[PATCH v4] media: v4l2-ctrl: add a helper function to add standard control with driver specific menu

2012-09-18 Thread Prabhakar Lad
From: Lad, Prabhakar Add helper function v4l2_ctrl_new_std_menu_items(), which adds a standard menu control, with driver specific menu. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Hans Verkuil Cc: Sakari Ailus Cc: Sylwester Nawrocki Cc: Laurent Pinchart Cc: Mauro Carva

Re: [PATCH] [media] mceusb: Optimize DIV_ROUND_CLOSEST call

2012-09-18 Thread Jean Delvare
Hi Mauro, On Tue, 18 Sep 2012 12:49:53 -0300, Mauro Carvalho Chehab wrote: > Em 01-09-2012 15:53, Jean Delvare escreveu: > > DIV_ROUND_CLOSEST is faster if the compiler knows it will only be > > dealing with unsigned dividends. > > > > Signed-off-by: Jean Delvare > > Cc: Andrew Morton > > Cc: G

Re: Terratec Cinergy T PCIe Dual doesn;t work nder the Xen hypervisor

2012-09-18 Thread Javier Marcet
On Tue, Sep 18, 2012 at 5:40 AM, Devin Heitmueller wrote: Hi Devin, > This is a very common problem when attempting to use any PCI/PCIe > tuner under a hypervisor. Essentially the issue is all of the > virtualization solutions provide very poor interrupt latency, which > results in the data bei

2x TT CT-3650 CI USB = corrupt video

2012-09-18 Thread Henk Poley
Individually each of them work. When both of them are connected I get corrupted video as soon as I tune to another channel. There is no specific pattern in the logs, but now and then trouble about too large packets when communicating with the CAM appears in dmesg, which could make sense given the p

Re: [PATCH] [media] mceusb: Optimize DIV_ROUND_CLOSEST call

2012-09-18 Thread Guenter Roeck
On Tue, Sep 18, 2012 at 12:49:53PM -0300, Mauro Carvalho Chehab wrote: > Em 01-09-2012 15:53, Jean Delvare escreveu: > > DIV_ROUND_CLOSEST is faster if the compiler knows it will only be > > dealing with unsigned dividends. > > > > Signed-off-by: Jean Delvare > > Cc: Andrew Morton > > Cc: Guente

Re: [PATCH] Mygica X8507 audio for YPbPr, AV and S-Video

2012-09-18 Thread Mauro Carvalho Chehab
Em 03-09-2012 17:14, Alfredo Jesús Delaiti escreveu: > Hi > > This patch add audio support for input YPbPr, AV and S-Video for Mygica X8507 > card. > I tried it with the 3.4 and 3.5 kernel > > Remains to be done: IR, FM and ISDBT > > Sorry if I sent the patch improperly. > > Signed-off-by: Alf

Re: [PATCH] [media] mceusb: Optimize DIV_ROUND_CLOSEST call

2012-09-18 Thread Mauro Carvalho Chehab
Em 01-09-2012 15:53, Jean Delvare escreveu: > DIV_ROUND_CLOSEST is faster if the compiler knows it will only be > dealing with unsigned dividends. > > Signed-off-by: Jean Delvare > Cc: Andrew Morton > Cc: Guenter Roeck > Cc: Mauro Carvalho Chehab > --- > drivers/media/rc/mceusb.c |2 +- >

Re: [RFC] Processing context in the V4L2 subdev and V4L2 controls API ?

2012-09-18 Thread Guennadi Liakhovetski
Hi Sylwester On Tue, 18 Sep 2012, Sylwester Nawrocki wrote: > Hi All, > > I'm trying to fulfil following requirements with V4L2 API that are specific > to most of Samsung camera sensors with embedded SoC ISP and also for local > SoC camera ISPs: > > - separate pixel format and pixel resolutio

[RFC] Processing context in the V4L2 subdev and V4L2 controls API ?

2012-09-18 Thread Sylwester Nawrocki
Hi All, I'm trying to fulfil following requirements with V4L2 API that are specific to most of Samsung camera sensors with embedded SoC ISP and also for local SoC camera ISPs: - separate pixel format and pixel resolution needs to be configured in a device for camera preview and capture; -

[PATCH] rtl28xxu: add ID [0bda:2832] Realtek RTL2832U reference design

2012-09-18 Thread Antti Palosaari
Also change location of other RTL2832 reference design ID 0bda:2838. I just like to see reference design IDs at the first IDs in the list. Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/

Re: [PATCH v4] media: v4l2-ctrls: add control for dpcm predictor

2012-09-18 Thread Prabhakar Lad
Hi Sakari, On Thu, Sep 13, 2012 at 6:29 AM, Laurent Pinchart wrote: > Hi Sakari, > > On Friday 07 September 2012 21:46:44 Sakari Ailus wrote: >> >> Could you replace the above with this text (with appropriate indentation >> etc.) while keeping the reference to Wikipedia? >> >> --8<-- >> D

[PATCHv4 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/msp3400-driver.c | 40 ++- 1 file

[PATCHv4 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/si470x/radio-si470x-i2c.c | 23 +-- 1 files

[PATCHv4 0/6] media: convert to c99 format

2012-09-18 Thread Shubhrajyoti D
The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add an element to the structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to Julia Lawall for helping it automate. By the below script. http://www.m

[PATCHv4 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/ks0127.c | 13 +++-- 1 files changed, 11 insertions(+), 2

[PATCHv4 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/radio-tea5764.c | 13 ++--- 1 files changed, 10 inserti

[PATCHv4 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/saa7706h.c | 15 +-- 1 files changed, 13 insertions

[PATCHv4 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/tvaudio.c | 13 +++-- 1 files changed, 11 insertions(+),

Re: [PATCHv3 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti
On Tuesday 18 September 2012 05:12 PM, Felipe Balbi wrote: > On Tue, Sep 18, 2012 at 05:14:31PM +0530, Shubhrajyoti D wrote: >> > Convert the struct i2c_msg initialization to C99 format. This makes >> > maintaining and editing the code simpler. Also helps once other >> > fields >>

[GIT PULL FOR v3.7] Davinci VPIF cleanup and feature enhancement

2012-09-18 Thread Lad, Prabhakar
Hi Mauro, Can you please pull the following patches for vpif, Which involves driver cleanup and replace preset by timings API. Thanks and Regards, --Prabhakar Lad The following changes since commit 36aee5ff9098a871bda38dbbdad40ad59f6535cf: [media] ir-rx51: Adjust dependencies (2012-09-15 19:4

Re: [PATCHv3 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Felipe Balbi
On Tue, Sep 18, 2012 at 05:14:31PM +0530, Shubhrajyoti D wrote: > Convert the struct i2c_msg initialization to C99 format. This makes > maintaining and editing the code simpler. Also helps once other fields > like transferred are added in future. no need for these tabs here

[PATCHv3 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/radio-tea5764.c | 13 ++--- 1 f

[PATCHv3 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/ks0127.c | 13 +++-- 1 files chan

[PATCHv3 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/tvaudio.c | 13 +++-- 1 files cha

[PATCHv3 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/si470x/radio-si470x-i2c.c | 23

[PATCHv3 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/msp3400-driver.c | 40 +++

[PATCHv3 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/saa7706h.c | 15 +-- 1 file

[PATCHv3 0/6] media: convert to c99 format

2012-09-18 Thread Shubhrajyoti D
The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add an element to the structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to Julia Lawall for helping it automate. By the below script. http://www.m

Re: [RFCv1 PATCH 00/11] davinci: clean up input/output/subdev config

2012-09-18 Thread Hans Verkuil
On Tue 18 September 2012 12:53:02 Hans Verkuil wrote: > Hi Prabhakar, > > This patch series does some driver cleanup and reorganizes the config > structs that are used to set up subdevices. > > The current driver associates an input or output with a subdev, but multiple > inputs may use the same

[RFCv1 PATCH 09/11] vpif_capture: separate subdev from input.

2012-09-18 Thread Hans Verkuil
vpif_capture relied on a 1-1 mapping of input and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of inputs. Each input refers to a subdev and has routing information. An input does not have to have a subdev. The initial input for each channel i

[RFCv1 PATCH 03/11] vpif_capture: move input_idx to channel_obj.

2012-09-18 Thread Hans Verkuil
input_idx does not belong to video_obj. Move it where it belongs. Also remove the bogus code in the open() function that suddenly changes the input to 0 for no reason. Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_capture.c |9 ++--- drivers/media/video/davinci/vpif_ca

[RFCv1 PATCH 01/11] vpif_capture: remove unused data structure.

2012-09-18 Thread Hans Verkuil
Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_capture.h |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/media/video/davinci/vpif_capture.h b/drivers/media/video/davinci/vpif_capture.h index aa6d3da..de19c80 100644 --- a/drivers/media/video/d

[RFCv1 PATCH 04/11] vpif_display: move output_id to channel_obj.

2012-09-18 Thread Hans Verkuil
The output index does not belong to video_obj, it belongs to channel_obj. Also rename to output_idx to be consistent with the input_idx name used in vpif_capture. Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_display.c | 17 ++--- drivers/media/video/davinci/vpif

[RFCv1 PATCH 06/11] vpif_capture: move routing info from subdev to input.

2012-09-18 Thread Hans Verkuil
Routing information is a property of the input, not of the subdev. One subdev may provide multiple inputs, each with its own routing information. Signed-off-by: Hans Verkuil --- arch/arm/mach-davinci/board-da850-evm.c|8 arch/arm/mach-davinci/board-dm646x-evm.c |8

[RFCv1 PATCH 07/11] vpif_capture: first init subdevs, then register device nodes.

2012-09-18 Thread Hans Verkuil
When device nodes are registered they must be ready for use immediately, so make sure the subdevs are loaded first. Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_capture.c | 55 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/driv

[RFCv1 PATCH 08/11] vpif_display: first init subdevs, then register device nodes.

2012-09-18 Thread Hans Verkuil
When device nodes are registered they must be ready for use immediately, so make sure the subdevs are loaded first. Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_display.c | 59 ++-- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/driv

[RFCv1 PATCH 11/11] davinci: move struct vpif_interface to chan_cfg.

2012-09-18 Thread Hans Verkuil
struct vpif_interface is channel specific, not subdev specific. Move it to the channel config. Signed-off-by: Hans Verkuil --- arch/arm/mach-davinci/board-da850-evm.c| 24 arch/arm/mach-davinci/board-dm646x-evm.c | 24 drivers/media/vid

[RFCv1 PATCH 10/11] vpif_display: use a v4l2_subdev pointer to call a subdev.

2012-09-18 Thread Hans Verkuil
This makes it easier to have outputs without subdevs. This needs more work. The way the outputs are configured should be identical to how inputs are configured. Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_display.c | 17 + drivers/media/video/davinci/vpif_d

[RFCv1 PATCH 05/11] vpif_capture: remove unnecessary can_route flag.

2012-09-18 Thread Hans Verkuil
Calling a subdev op that isn't implemented will just return -ENOIOCTLCMD No need to have a flag for that. Signed-off-by: Hans Verkuil --- arch/arm/mach-davinci/board-da850-evm.c|2 -- arch/arm/mach-davinci/board-dm646x-evm.c |2 -- drivers/media/video/davinci/vpif_capture.c | 18

[RFCv1 PATCH 02/11] vpif_display: remove unused data structures.

2012-09-18 Thread Hans Verkuil
Signed-off-by: Hans Verkuil --- drivers/media/video/davinci/vpif_display.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/media/video/davinci/vpif_display.h b/drivers/media/video/davinci/vpif_display.h index 1263de6..ad22c70 100644 --- a/drivers/media/video/davinci

[RFCv1 PATCH 00/11] davinci: clean up input/output/subdev config

2012-09-18 Thread Hans Verkuil
Hi Prabhakar, This patch series does some driver cleanup and reorganizes the config structs that are used to set up subdevices. The current driver associates an input or output with a subdev, but multiple inputs may use the same subdev and some inputs may not use a subdev at all (this is the case

RE: [PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Venu Byravarasu
> -Original Message- > From: Shubhrajyoti Datta [mailto:omaplinuxker...@gmail.com] > Sent: Tuesday, September 18, 2012 3:30 PM > To: Venu Byravarasu > Cc: Shubhrajyoti D; linux-media@vger.kernel.org; linux- > ker...@vger.kernel.org; julia.law...@lip6.fr > Subject: Re: [PATCHv2 6/6] media: C

Re: [PATCHv2 0/6] media: convert to c99 format

2012-09-18 Thread Hans Verkuil
On Tue 18 September 2012 11:50:37 Shubhrajyoti D wrote: > The series tries to convert the i2c_msg to c99 struct. > This may avoid issues like below if someone tries to add an > element to the structure. > http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html > > Special thanks to Jul

Re: [PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti Datta
On Tue, Sep 18, 2012 at 3:26 PM, Venu Byravarasu wrote: >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Shubhrajyoti D >> Sent: Tuesday, September 18, 2012 3:21 PM >> To: linux-media@vger.kernel.org >> Cc: linux

RE: [PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Shubhrajyoti D > Sent: Tuesday, September 18, 2012 3:21 PM > To: linux-media@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; julia.law...@lip6.fr; Shubhrajyoti D >

Re: tda8290 regression fix

2012-09-18 Thread Mauro Carvalho Chehab
Em 16-09-2012 05:48, Anders Thomson escreveu: > On 2012-09-16 00:25, Mauro Carvalho Chehab wrote: >> Em Sat, 15 Sep 2012 20:12:49 +0200 >> Anders Thomson escreveu: >> >> > On 2012-09-15 19:58, Mauro Carvalho Chehab wrote: >> > > Em Sat, 15 Sep 2012 19:39:31 +0200 >> > > Anders Thomson escre

[PATCHv2 2/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/tvaudio.c | 14 -- 1 files ch

[PATCHv2 3/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/radio-tea5764.c | 14 +++--- 1

[PATCHv2 4/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/si470x/radio-si470x-i2c.c | 24

[PATCHv2 0/6] media: convert to c99 format

2012-09-18 Thread Shubhrajyoti D
The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add an element to the structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to Julia Lawall for helping it automate. By the below script. http://www.m

[PATCHv2 1/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/ks0127.c | 14 -- 1 files cha

[PATCHv2 6/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/i2c/msp3400-driver.c | 42 +++

[PATCHv2 5/6] media: Convert struct i2c_msg initialization to C99 format

2012-09-18 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D --- drivers/media/radio/saa7706h.c | 16 ++-- 1 fil

Re: [PATCH 12/34] media: mx1_camera: remove the driver

2012-09-18 Thread Arnd Bergmann
On Tuesday 18 September 2012, Shawn Guo wrote: > > On Mon, Sep 17, 2012 at 10:33:25AM +0200, Guennadi Liakhovetski wrote: > > Ok, it used to compile not-so-long-ago, but it doesn't seem to be cared > > for a lot lately. Let's give Paulius a bit more time to react to this > > mail, otherwise I'll

[GIT PULL v2] Initial i.MX5/CODA7 support for the CODA driver

2012-09-18 Thread Philipp Zabel
Hi Mauro, please pull the following patches that fix a few issues in the coda driver and add initial firmware loading and encoding support for the CODA7 series VPU contained in i.MX51 and i.MX53 SoCs. I have dropped Ezequiel's vb2_queue_init commit and rebased onto current linux-media staging/for_

Re: Terratec Cinergy T PCIe Dual doesn;t work nder the Xen hypervisor

2012-09-18 Thread Javier Marcet
On Tue, Sep 18, 2012 at 5:40 AM, Devin Heitmueller wrote: >> Initially I thought Xen would be the cause of the problem, but after >> having written on >> the Xen development mailing list and talked about it with a couple >> developers, it isn't >> very clear where the problem is. So far I haven't

Re: [PATCH 28/34] media: mx2_camera: remove mach/hardware.h inclusion

2012-09-18 Thread javier Martin
On 17 September 2012 15:59, Guennadi Liakhovetski wrote: > On Mon, 17 Sep 2012, javier Martin wrote: > >> Hi Shawn, >> >> On 17 September 2012 11:21, Guennadi Liakhovetski >> wrote: >> > On Mon, 17 Sep 2012, Shawn Guo wrote: >> > >> >> It changes the driver to use platform_device_id rather than

Re: [PATCH 27/34] media: mx2_camera: use managed functions to clean up code

2012-09-18 Thread javier Martin
Hi Shawn, On 18 September 2012 09:43, Shawn Guo wrote: > On Mon, Sep 17, 2012 at 03:36:07PM +0200, javier Martin wrote: >> This patch breaks the driver: >> > Javier, > > Can you please apply the following change to see if it fixes the > problem? > > Shawn > > @@ -1783,6 +1783,8 @@ static int __de

Re: [PATCH 00/34] i.MX multi-platform support

2012-09-18 Thread Shawn Guo
On Mon, Sep 17, 2012 at 09:51:38AM +0200, Sascha Hauer wrote: > I gave it a test on i.MX1, i.MX27, i.MX31 and i.MX35. All run fine, but > the last patch breaks the imx_v4_v5_defconfig: Somehow it now defaults > to ARMv7 based machines. I haven't looked into it, just reenabled > ARMv4/ARMv5 and the

Re: [alsa-devel] [PATCH 00/34] i.MX multi-platform support

2012-09-18 Thread Shawn Guo
On Tue, Sep 18, 2012 at 09:52:13AM +0200, Sascha Hauer wrote: > I just had a look at the remaining initcalls in arch-imx. Most of them > are protected with a cpu_is_*, but this one should be fixed before i.MX > is enabled for multi platform: > > arch/arm/mach-imx/devices/devices.c:48:core_initcall

Re: [PATCH 00/34] i.MX multi-platform support

2012-09-18 Thread Sascha Hauer
Hi Shawn, On Mon, Sep 17, 2012 at 01:34:29PM +0800, Shawn Guo wrote: > The series enables multi-platform support for imx. Since the required > frameworks (clk, pwm) and spare_irq have already been adopted on imx, > the series is all about cleaning up mach/* headers. Along with the > changes, arc

Re: [PATCH 27/34] media: mx2_camera: use managed functions to clean up code

2012-09-18 Thread Shawn Guo
On Mon, Sep 17, 2012 at 03:36:07PM +0200, javier Martin wrote: > This patch breaks the driver: > Javier, Can you please apply the following change to see if it fixes the problem? Shawn @@ -1783,6 +1783,8 @@ static int __devinit mx2_camera_probe(struct platform_device *pdev)

Re: [RFCv3 API PATCH 15/31] v4l2-core: Add new V4L2_CAP_MONOTONIC_TS capability.

2012-09-18 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: On 09/17/2012 07:19 PM, Sakari Ailus wrote: Sylwester Nawrocki wrote: On 09/16/2012 05:33 PM, Laurent Pinchart wrote: On Sunday 16 September 2012 15:57:14 Hans Verkuil wrote: On Sat September 15 2012 22:16:24 Sylwester Nawrocki wrote: On 09/15/2012 02