[PATCH] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out

2012-08-20 Thread Richard Zhao
Signed-off-by: Richard Zhao --- drivers/media/platform/coda.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 6908514..69ff0d3 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c

Re: [RFC API] Renumber subdev ioctls

2012-08-20 Thread Hans Verkuil
On Mon August 20 2012 22:46:04 Sakari Ailus wrote: > Hi Mauro and Hans, > > On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > > Em 20-08-2012 05:30, Hans Verkuil escreveu: > > > Hi all! > > > > > > Recently I had to add two new ioctls for the subdev API > > > (include/linu

Re: [RFC 0/5] Generic panel framework

2012-08-20 Thread Tomi Valkeinen
On Tue, 2012-08-21 at 01:29 +0200, Laurent Pinchart wrote: > Hi Tomi, > > On Monday 20 August 2012 14:39:30 Tomi Valkeinen wrote: > > On Sat, 2012-08-18 at 03:16 +0200, Laurent Pinchart wrote: > > > Hi Tomi, > > > > > > mipi-dbi-bus might not belong to include/video/panel/ though, as it can be >

Re: [PATCH 4/6] [media] Cleanup media Kconfig files

2012-08-20 Thread Sachin Kamat
Hi Mauro, On 20 August 2012 23:52, Mauro Carvalho Chehab wrote: > - get rid of ridden V4L2_COMMON symbol > > This symbol is not needed anymore; it can be folded with V4L2 > one, simplifying the Kconfig a little bit; > > - Comment why some Kconfig items are needed; > > - Remove if test for MED

Re: [PATCH] dvb_frontend: Multistream support

2012-08-20 Thread CrazyCat
Multistream support with all recommendations. Signed-off-by: Evgeny Plehov diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index bb51edf..a6a6839 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h @@ -62,6 +62,7 @@ typedef enum fe_caps {

Re: [RFC 0/5] Generic panel framework

2012-08-20 Thread Laurent Pinchart
Hi Tomi, On Monday 20 August 2012 14:39:30 Tomi Valkeinen wrote: > On Sat, 2012-08-18 at 03:16 +0200, Laurent Pinchart wrote: > > Hi Tomi, > > > > mipi-dbi-bus might not belong to include/video/panel/ though, as it can be > > used for non-panel devices (at least in theory). The future mipi-dsi-bu

Re: [media] rc-core: move timeout and checks to lirc

2012-08-20 Thread Devin Heitmueller
On Mon, Aug 20, 2012 at 6:02 PM, Mauro Carvalho Chehab wrote: > So, IMO, it makes sense to have a "high end" API that accepts > writing keystrokes like above, working with both "raw drivers" > using some kernel IR protocol encoders, and with devices that can > accept "processed" keystrokes, like H

Re: [media] rc-core: move timeout and checks to lirc

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 18:36, David Härdeman escreveu: > On Thu, Aug 16, 2012 at 08:12:34PM -0300, Mauro Carvalho Chehab wrote: >> Em 16-08-2012 19:15, Sean Young escreveu: >>> The lirc TX functionality expects the process which writes (TX) data to the lirc dev to sleep until the actual data has

Re: linux-next: Tree for Aug 20 (media: saa7164)

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 13:07, Randy Dunlap escreveu: > (part of/due to kconfig menu restructuring?) Yes. Probably, there was an implicit dependency with the old Kconfig arrangement. Now that we're storing both analog and digital TV drivers at the same place, those dependencies need to be explicit. Thank

Re: [PATCH 3/3] [media] winbond-cir: Adjust sample frequency to improve reliability

2012-08-20 Thread David Härdeman
On Mon, Jul 09, 2012 at 12:02:08PM +1000, Anton Blanchard wrote: > >Hi David, > >> Just to make sure something like that isn't happening, could you >> correct the line in wbcir_irq_rx() which currently reads: >> >> rawir.duration = US_TO_NS((irdata & 0x7F) * 10); >> >> so that it reads >> >> raw

Re: [media] rc-core: move timeout and checks to lirc

2012-08-20 Thread David Härdeman
On Thu, Aug 16, 2012 at 08:12:34PM -0300, Mauro Carvalho Chehab wrote: >Em 16-08-2012 19:15, Sean Young escreveu: >> >>> The lirc TX functionality expects the process which writes (TX) data to >>> the lirc dev to sleep until the actual data has been transmitted by the >>> hardware. >>> >>> Since

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-20 Thread Antti Palosaari
On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: dev_dbg_reatelimited() without DEBUG printed "217078 callbacks suppressed". This shouldn't print anything without DEBUG. Signed-off-by:

Re: How to add support for the em2765 webcam Speedlink VAD Laplace to the kernel ?

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 17:46, Hans de Goede escreveu: > Hi, > > On 08/20/2012 09:21 PM, Mauro Carvalho Chehab wrote: >> Em 20-08-2012 10:02, Hans de Goede escreveu: > > > >>> Note that luckily these devices do use a unique USB id and not one of the >>> generic em28xx ids so from that pov having a specia

Re: [RFC API] Renumber subdev ioctls

2012-08-20 Thread Sakari Ailus
Hi Mauro and Hans, On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > Em 20-08-2012 05:30, Hans Verkuil escreveu: > > Hi all! > > > > Recently I had to add two new ioctls for the subdev API > > (include/linux/v4l2-subdev.h) > > and I noticed that the numbering of the ioctls

Re: How to add support for the em2765 webcam Speedlink VAD Laplace to the kernel ?

2012-08-20 Thread Hans de Goede
Hi, On 08/20/2012 09:21 PM, Mauro Carvalho Chehab wrote: Em 20-08-2012 10:02, Hans de Goede escreveu: Note that luckily these devices do use a unique USB id and not one of the generic em28xx ids so from that pov having a specialized driver for them is not an issue. Hans, Not sure if all

Re: linux-next: Tree for Aug 20 (media: gspca)

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 12:42, Randy Dunlap escreveu: > On 08/20/12 02:23, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20120817: >> > > > on x86_64: > > gspca.c:(.text+0x22aa81): undefined reference to `usb_alloc_urb' > gspca.c:(.text+0x22aaad): undefined reference to `usb_alloc_coherent' >

[PATCH] [media] flexcop: Show the item to enable debug after the driver

2012-08-20 Thread Mauro Carvalho Chehab
Instead of showing the option to show debug at the end, show it after each driver. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/common/b2c2/Kconfig | 7 ++- drivers/media/pci/b2c2/Kconfig| 8 drivers/media/usb/b2c2/Kconfig| 8 3 files changed, 18 insertion

Re: [PATCH 1/6] [media] move soc_camera to its own directory

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 16:32, Guennadi Liakhovetski escreveu: >> .../platform/{ => soc_camera}/omap24xxcam-dma.c| 0 >> .../media/platform/{ => soc_camera}/omap24xxcam.c | 0 >> .../media/platform/{ => soc_camera}/omap24xxcam.h | 0 > > omap24xxcam are not soc-camera drivers. Sorry. Omap2 was in t

cron job: media_tree daily build: ERRORS

2012-08-20 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:Mon Aug 20 19:00:18 CEST 2012 git hash:9b78c5a3007e10a172d4e83bea18509fdff2e8e3 gcc version: i686-linux-gcc (GC

Re: linux-next: Tree for Aug 20 (media: flexcop)

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 12:37, Randy Dunlap escreveu: > On 08/20/12 02:23, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20120817: >> >> The v4l-dvb tree lost its build failure. >> > > > > on x86_64: > > flexcop-pci.c:(.text+0x19af63): undefined reference to `flexcop_device_exit' > flexcop-pc

Re: [PATCH 1/6] [media] move soc_camera to its own directory

2012-08-20 Thread Guennadi Liakhovetski
Hi Mauro On Mon, 20 Aug 2012, Mauro Carvalho Chehab wrote: > That helps to better organize the soc_camera items. > > While here, cleanup Makefiles, removing uneeded include dirs. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/platform/Kconfig | 96 > +-

Re: How to add support for the em2765 webcam Speedlink VAD Laplace to the kernel ?

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 10:02, Hans de Goede escreveu: > Hi, > > On 08/20/2012 01:41 PM, Frank Schäfer wrote: >> Hi, >> >> after a break of 2 1/2 kernel releases (sorry, I was busy with another >> project), I would like to bring up again the question how to add support >> for this device to the kernel. >> S

Re: [RFC API] Renumber subdev ioctls

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 05:30, Hans Verkuil escreveu: > Hi all! > > Recently I had to add two new ioctls for the subdev API > (include/linux/v4l2-subdev.h) > and I noticed that the numbering of the ioctls was somewhat random. > > In most cases the ioctl number was the same as the V4L2 API counterpart, but

[PATCH 1/6] [media] move soc_camera to its own directory

2012-08-20 Thread Mauro Carvalho Chehab
That helps to better organize the soc_camera items. While here, cleanup Makefiles, removing uneeded include dirs. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/Kconfig | 96 +- drivers/media/platform/Makefile| 30 +---

[PATCH 3/6] [media] Put the test devices together

2012-08-20 Thread Mauro Carvalho Chehab
Vivi is not that important to appear at the main menu, so move it to its own submenu. Also, the mem2mem test device driver is similar to vivi. So, put both at the same menu. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/Kconfig | 54 +++--- 1

[PATCH 4/6] [media] Cleanup media Kconfig files

2012-08-20 Thread Mauro Carvalho Chehab
- get rid of ridden V4L2_COMMON symbol This symbol is not needed anymore; it can be folded with V4L2 one, simplifying the Kconfig a little bit; - Comment why some Kconfig items are needed; - Remove if test for MEDIA_CAMERA_SUPPORT, replacing it by depends on. Signed-off-by: Mauro Carvalho

[PATCH 5/6] [media] Kconfig: use menuconfig instead of menu

2012-08-20 Thread Mauro Carvalho Chehab
This allows disabling all drivers of a certain type as a hole Signed-off-by: Mauro Carvalho Chehab --- drivers/media/parport/Kconfig | 8 +--- drivers/media/pci/Kconfig | 11 +-- drivers/media/usb/Kconfig | 12 +--- 3 files changed, 15 insertions(+), 16 deletions(-)

[PATCH 2/6] [media] Kconfig reorganization

2012-08-20 Thread Mauro Carvalho Chehab
Reorganize the Kconfig order, for it to be a little more intuitive. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/Kconfig | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index dcaaf8e..d5

[PATCH 0/6] media reorganization - part 3

2012-08-20 Thread Mauro Carvalho Chehab
Ok, I was hoping to do it into 2 parts only... but there are still a few missing bits that justify a third set of patches... The first patch of this series just do: rename drivers/media/platform/{ => soc_camera} There are too many soc_camera drivers to justify its own dir. In a matter of

Re: [PATCH] media: mx2_camera: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags.

2012-08-20 Thread Robert Schwebel
On Mon, Aug 20, 2012 at 10:08:39AM +0200, javier Martin wrote: > Sascha, do you have any comments on this one? I can't find it in > arm-soc, did you already merge it? Sascha is not in the office this week. rsc -- Pengutronix e.K. | | Industri

Re: linux-next: Tree for Aug 20 (media: gspca)

2012-08-20 Thread Randy Dunlap
On 08/20/12 02:23, Stephen Rothwell wrote: > Hi all, > > Changes since 20120817: > on x86_64: gspca.c:(.text+0x22aa81): undefined reference to `usb_alloc_urb' gspca.c:(.text+0x22aaad): undefined reference to `usb_alloc_coherent' gspca.c:(.text+0x22ac38): undefined reference to `usb_submit_urb

Re: linux-next: Tree for Aug 20 (media: flexcop)

2012-08-20 Thread Randy Dunlap
On 08/20/12 02:23, Stephen Rothwell wrote: > Hi all, > > Changes since 20120817: > > The v4l-dvb tree lost its build failure. > on x86_64: flexcop-pci.c:(.text+0x19af63): undefined reference to `flexcop_device_exit' flexcop-pci.c:(.text+0x19af77): undefined reference to `flexcop_device_kfre

[media-ctl PATCH 1/1] Count users for entities

2012-08-20 Thread Sakari Ailus
The subdev nodes used to be closed immediately on v4l2_subdev_close(), now the subdev is only closed if there are no users left anymore. This changes the API from immediate effect (close) to a reference counting one. Also make functions opening subdevs to close them before returning. This resolves

Re: How to add support for the em2765 webcam Speedlink VAD Laplace to the kernel ?

2012-08-20 Thread Hans de Goede
Hi, On 08/20/2012 01:41 PM, Frank Schäfer wrote: Hi, after a break of 2 1/2 kernel releases (sorry, I was busy with another project), I would like to bring up again the question how to add support for this device to the kernel. See http://www.mail-archive.com/linux-media@vger.kernel.org/msg4441

How to add support for the em2765 webcam Speedlink VAD Laplace to the kernel ?

2012-08-20 Thread Frank Schäfer
Hi, after a break of 2 1/2 kernel releases (sorry, I was busy with another project), I would like to bring up again the question how to add support for this device to the kernel. See http://www.mail-archive.com/linux-media@vger.kernel.org/msg44417.html ("Move em27xx/em28xx webcams to a gspca subdr

Re: [RFC 0/5] Generic panel framework

2012-08-20 Thread Tomi Valkeinen
On Sat, 2012-08-18 at 03:16 +0200, Laurent Pinchart wrote: > Hi Tomi, > mipi-dbi-bus might not belong to include/video/panel/ though, as it can be > used for non-panel devices (at least in theory). The future mipi-dsi-bus > certainly will. They are both display busses. So while they could be us

Re: [PATH v3 0/2] Add v4l2 subdev driver for S5K4ECGX sensor with embedded SoC ISP

2012-08-20 Thread Sylwester Nawrocki
Hi Sangwook, On 08/20/2012 12:43 PM, Sangwook Lee wrote: > On 20 August 2012 09:12, Sangwook Lee wrote: >> On 19 August 2012 22:29, Sylwester Nawrocki >> wrote: >>> On 08/03/2012 04:24 PM, Sangwook Lee wrote: I was thinking about this, but this seems to be is a bit time-consuming beca

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-20 Thread Hiroshi Doyu
Hi Antti, Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: > On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: > > dev_dbg_reatelimited() without DEBUG printed "217078 callbacks > > suppressed". This shouldn't print anything without DEBUG. > > > > Signed-off-by: Hiroshi Doyu > > Reported-by:

Re: [PATH v3 0/2] Add v4l2 subdev driver for S5K4ECGX sensor with embedded SoC ISP

2012-08-20 Thread Sangwook Lee
Hi Sylwester On 20 August 2012 09:12, Sangwook Lee wrote: > Hi Sylwester > > On 19 August 2012 22:29, Sylwester Nawrocki > wrote: >> Hi Sangwook, >> >> On 08/03/2012 04:24 PM, Sangwook Lee wrote: >>> I was thinking about this, but this seems to be is a bit time-consuming >>> because >>> I have

Re: How to add new chip ids to v4l2-chip-ident.h ?

2012-08-20 Thread Frank Schäfer
Am 18.08.2012 17:06, schrieb Hans Verkuil: > On Sat August 18 2012 16:19:26 Frank Schäfer wrote: >> Hi, >> >> I would like to know how to add new chip ids to v4l2-chip-ident.h. Ist >> there a kind of policy for choosing numbers ? > Using numbers that match the chip number is recommended, but if tha

[PATCH v3] media: mx2_camera: Don't modify non volatile parameters in try_fmt.

2012-08-20 Thread Javier Martin
Signed-off-by: Javier Martin --- Changes since v2: - Add Signed-off-by line. --- drivers/media/video/mx2_camera.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c index 2a33bcb..88dcae6 100644 --- a/d

[RFC API] Renumber subdev ioctls

2012-08-20 Thread Hans Verkuil
Hi all! Recently I had to add two new ioctls for the subdev API (include/linux/v4l2-subdev.h) and I noticed that the numbering of the ioctls was somewhat random. In most cases the ioctl number was the same as the V4L2 API counterpart, but for subdev-specific ioctls no rule exists. There are a f

Re: [PATH v3 0/2] Add v4l2 subdev driver for S5K4ECGX sensor with embedded SoC ISP

2012-08-20 Thread Sangwook Lee
Hi Sylwester On 19 August 2012 22:29, Sylwester Nawrocki wrote: > Hi Sangwook, > > On 08/03/2012 04:24 PM, Sangwook Lee wrote: >> I was thinking about this, but this seems to be is a bit time-consuming >> because >> I have to do this just due to lack of s5k4ecgx hardware information. >> let me t

Re: [PATCH] media: mx2_camera: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags.

2012-08-20 Thread javier Martin
Hi, On 30 July 2012 17:33, Guennadi Liakhovetski wrote: > Hi Javier > > On Mon, 30 Jul 2012, javier Martin wrote: > >> Hi, >> thank you for yor ACKs. >> >> On 20 July 2012 13:31, Guennadi Liakhovetski wrote: >> > On Thu, 12 Jul 2012, Javier Martin wrote: >> > >> >> These flags are not used any l

Re: sh_mobile_csi2.c confusion

2012-08-20 Thread Guennadi Liakhovetski
Hi Hans, Mauro On Mon, 20 Aug 2012, Hans Verkuil wrote: > Hi Mauro, Guennadi, > > The daily build fails with: > > make[4]: *** No rule to make target `drivers/media/platform/sh_mobile_csi2.c', > needed by `drivers/media/platform/sh_mobile_csi2.o'. Stop. > > Further investigation shows that th

RE: [PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-08-20 Thread Marek Szyprowski
Hello, I'm really sorry for a late reply, but I was a bit busy with other stuff. On Tuesday, July 31, 2012 10:17 PM Federico Vaga wrote: > Signed-off-by: Federico Vaga > --- > drivers/media/video/Kconfig | 6 +- > drivers/media/video/Makefile | 1 + > dri

[PATCH TRIVIAL] Fix vino compilation

2012-08-20 Thread Hans Verkuil
A trivial fix so that vino can find the saa7191.h header. Signed-off-by: Hans Verkuil diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index b3effdc..63373dd 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -64,3 +64,4 @@ ccflags

sh_mobile_csi2.c confusion

2012-08-20 Thread Hans Verkuil
Hi Mauro, Guennadi, The daily build fails with: make[4]: *** No rule to make target `drivers/media/platform/sh_mobile_csi2.c', needed by `drivers/media/platform/sh_mobile_csi2.o'. Stop. Further investigation shows that the sh_mobile_csi2.o make rule is in drivers/media/platform/Makefile, while

Re: cron job: media_tree daily build: ERRORS

2012-08-20 Thread Hans Verkuil
On Sun August 19 2012 22:09:35 Anca Emanuel wrote: > On Sun, Aug 19, 2012 at 10:54 PM, Hans Verkuil wrote: > > 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: > > > > dat