Re: [PATCH] drivers:media:video:uvc: fix uvc_v4l2_get_unmapped_area for NOMMU

2012-05-14 Thread Bob Liu
Hi Laurent, On Tue, May 15, 2012 at 9:01 AM, Bob Liu wrote: > Hi Laurent, > > On Mon, May 14, 2012 at 7:31 PM, Laurent Pinchart > wrote: >> Hi Bob, >> >> On Monday 14 May 2012 18:23:59 Bob Liu wrote: >>> Fix uvc_v4l2_get_unmapped_area() for NOMMU arch like blackfin after >>> framework updated to

Re: [PATCH] [media] rc: Fix invalid free_region and/or free_irq on probe failure

2012-05-14 Thread Ben Hutchings
On Tue, 2012-05-15 at 02:36 +0100, Ben Hutchings wrote: > fintek-cir, ite-cir and nuvoton-cir may try to free an I/O region > and/or IRQ handler that was never allocated after a failure in their > respective probe functions. Add and use separate labels on the > failure path so they will do the rig

[PATCH] [media] rc: Fix invalid free_region and/or free_irq on probe failure

2012-05-14 Thread Ben Hutchings
fintek-cir, ite-cir and nuvoton-cir may try to free an I/O region and/or IRQ handler that was never allocated after a failure in their respective probe functions. Add and use separate labels on the failure path so they will do the right cleanup after each possible point of failure. Compile-tested

Re: [PATCH] drivers:media:video:uvc: fix uvc_v4l2_get_unmapped_area for NOMMU

2012-05-14 Thread Bob Liu
Hi Laurent, On Mon, May 14, 2012 at 7:31 PM, Laurent Pinchart wrote: > Hi Bob, > > On Monday 14 May 2012 18:23:59 Bob Liu wrote: >> Fix uvc_v4l2_get_unmapped_area() for NOMMU arch like blackfin after >> framework updated to use videobuf2. > > Thank you for the patch, but I'm afraid you're too lat

Re: [PATCH] V4L: Rename V4L2_SEL_TGT_[CROP/COMPOSE]_ACTIVE to V4L2_SEL_TGT_[CROP/COMPOSE]

2012-05-14 Thread Laurent Pinchart
Hi Sylwester, Thanks for the patch. On Monday 14 May 2012 19:17:03 Sylwester Nawrocki wrote: > This patch drops the _ACTIVE part from the selection target names as > a prerequisite to unify the selection target names on subdevs and regular > video nodes. > > Although not exactly the same, the me

Re: [GIT PULL FOR v3.5] Implement V4L2_CID_PIXEL_RATE in various drivers

2012-05-14 Thread Laurent Pinchart
Hi Mauro, On Monday 14 May 2012 13:01:56 Mauro Carvalho Chehab wrote: > Em 14-05-2012 12:56, Sakari Ailus escreveu: > > Hi all, > > > > Here are a few patches that implement V4L2_CID_PIXEL_RATE in a couple of > > drivers. The control is soon required by some CSI-2 receivers to configure > > the h

[PATCH 05/11] DVB: add support for the LG2160 ATSC-MH demodulator

2012-05-14 Thread Michael Krufky
This patch adds support for controlling the LG2160 and LG2161 ATSC-MH demodulators. Signed-off-by: Michael Krufky --- drivers/media/dvb/frontends/Makefile |1 + drivers/media/dvb/frontends/lg2160.c | 1468 ++ drivers/media/dvb/frontends/lg2160.h | 84 ++ 3 f

[PATCH 10/11] mxl111sf: add ATSC-MH support

2012-05-14 Thread Michael Krufky
Add support for the ATSC-MH frontend on the WinTV Aero-m Signed-off-by: Michael Krufky --- drivers/media/dvb/dvb-usb/Kconfig|1 + drivers/media/dvb/dvb-usb/mxl111sf.c | 871 -- 2 files changed, 825 insertions(+), 47 deletions(-) diff --git a/drivers/medi

[PATCH 08/11] dvb-usb: add support for dvb-usb-adapters that deliver raw payload

2012-05-14 Thread Michael Krufky
From: Michael Krufky Select this feature setting the dvb-usb-adapter caps field with DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD Signed-off-by: Michael Krufky --- drivers/media/dvb/dvb-usb/dvb-usb-urb.c | 12 drivers/media/dvb/dvb-usb/dvb-usb.h |1 + 2 files changed, 13 insertions

[PATCH 09/11] dvb-usb: increase MAX_NO_OF_FE_PER_ADAP from 2 to 3

2012-05-14 Thread Michael Krufky
The following patch adds support for a third frontend to exist on a single DVB adapter, in the mxl111sf driver. This patch allows that to be possible. Signed-off-by: Michael Krufky --- drivers/media/dvb/dvb-usb/dvb-usb.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

[PATCH 11/11] DVB: remove "stats" property bits from ATSC-MH API property additions

2012-05-14 Thread Michael Krufky
Mauro is proposing a new API to handle statistics. This functionality will be returned after the statistics API is ready. Just remove them for now. Signed-off-by: Michael Krufky --- Documentation/DocBook/media/dvb/dvbproperty.xml | 18 -- drivers/media/dvb/dvb-core/dvb_frontend

[PATCH 07/11] dvb-demux: add functionality to send raw payload to the dvr device

2012-05-14 Thread Michael Krufky
From: Michael Krufky If your driver needs to deliver the raw payload to userspace without passing through the kernel demux, use function: dvb_dmx_swfilter_raw Signed-off-by: Michael Krufky --- drivers/media/dvb/dvb-core/dvb_demux.c | 10 ++ drivers/media/dvb/dvb-core/dvb_demux.h |

[PATCH 06/11] lg2160: update internal api interfaces and enable build

2012-05-14 Thread Michael Krufky
The lg2160 driver was written against the older dvb frontend internal api. Because of this, the previous patch that adds the lg2160 driver leaves it disabled in the build. This patch updates the driver to the new internal api and enables it in the build. Signed-off-by: Michael Krufky --- driver

[PATCH 03/11] increment DVB API to version 5.6 for ATSC-MH frontend control

2012-05-14 Thread Michael Krufky
increment the DVB API version to 5.6 to signify support for controlling an ATSC-MH frontend. Signed-off-by: Michael Krufky --- include/linux/dvb/version.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/dvb/version.h b/include/linux/dvb/version.h index 0559e2

[PATCH 04/11] mxl111sf-tuner: tune SYS_ATSCMH just like SYS_ATSC

2012-05-14 Thread Michael Krufky
The MxL111SF tuner is programmed the same way for ATSC-MH as it is programmed for ATSC. Signed-off-by: Michael Krufky --- drivers/media/dvb/dvb-usb/mxl111sf-tuner.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-tuner.c b/drivers/media/dvb/dvb-usb/mxl1

[PATCH 02/11] DocBook: document new DTV Properties for ATSC-MH delivery system

2012-05-14 Thread Michael Krufky
Document the following properties for controlling an ATSC-MH frontend: DTV_ATSCMH_FIC_VER - Version number of the FIC signaling data DTV_ATSCMH_PARADE_ID - Parade identification number DTV_ATSCMH_NOG - Number of MH groups per MH subframe for a designated parade DTV_ATSCMH_TNOG - Total number of MH

[PATCH 01/11] linux-dvb v5 API support for ATSC-MH

2012-05-14 Thread Michael Krufky
Add the following properties for controlling an ATSC-MH frontend: DTV_ATSCMH_FIC_VER DTV_ATSCMH_PARADE_ID DTV_ATSCMH_NOG DTV_ATSCMH_TNOG DTV_ATSCMH_SGN DTV_ATSCMH_PRC DTV_ATSCMH_RS_FRAME_MODE DTV_ATSCMH_RS_FRAME_ENSEMBLE DTV_ATSCMH_RS_CODE_MODE_PRI DTV_ATSCMH_RS_CODE_MODE_SEC DTV_ATSCMH_SCCC_BLOCK

[PULL PATCH 00/11] ATSC-MH driver support for the Hauppauge WinTV Aero-m

2012-05-14 Thread Michael Krufky
Mauro, After our discussion in IRC today, I made the additional changes that you requested, along with better patch descriptions, and the "stats" bits have been disabled / removed. Please merge. (patch bomb follows) The following changes since commit 296da3cd14db9eb5606924962b2956c9c656dbb0:

[PATCH V6 1/5] WL128x: Add support for FM TX RDS

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch adds support for following FM TX RDS features, 1. Radio Text 2. PS Name 3. PI Code 4. PTY Code. Along with above this patch fixes few other minor issues(like fm tx get frequency, unnecessary error messages etc). Signed-off-by: Manjunatha Hal

[PATCH V6 2/5] New control class and features for FM RX

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1) De-Emphasis filter mode 2) RDS Alternate Frequency switch Also this patch adds a field for band selection in struct v4l2_hw_freq_seek and adds new capability flags for all

[PATCH V6 4/5] Media: Update docs for V4L2 FM new features

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch 3) New FM TX CID - RDS Alternate frequency set. 4) New capability struct v4l2_tuner flags for band selection Signed-off-

[PATCH V6 5/5] WL12xx: Add support for FM new features.

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch adds below features to TI's V4l2 FM driver for Wilink chipsets, 1) FM RX Set frequency allows to set frequency anywhere between 65.5 MHz till 108 MHz (if chip is Wilink8 then till 164.55 MHz) 2) FM RX seek caters for band switch 3

[PATCH V6 3/5] Add new CID for FM TX RDS Alternate Frequency

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli Signed-off-by: Manjunatha Halli --- drivers/media/video/v4l2-ctrls.c |1 + include/linux/videodev2.h|1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 9d7608e..6100

[PATCH V6 0/5] [Media] Radio: Fixes and New features for FM

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli Mauro and the list, Fixed version 6 of patchset 2/5. This version 6 of patchset resolves the comments received from Han's on patchset v5. This patchset creates new control class 'V4L2_CTRL_CLASS_FM_RX' for FM RX, introduces 2 new CID's for FM RX and and 1 new CID f

Re: [PATCH V6 0/5] [Media] Radio: Fixes and New features for FM

2012-05-14 Thread Hans Verkuil
On Mon May 14 2012 22:27:19 manjunatha_ha...@ti.com wrote: > From: Manjunatha Halli > > Mauro and the list, > > This version 6 of patchset resolves the comments received from > Han's on patchset v5. > > This patchset creates new control class 'V4L2_CTRL_CLASS_FM_RX' for FM RX, > introd

Re: [PATCH V6 2/5] New control class and features for FM RX

2012-05-14 Thread Hans Verkuil
On Mon May 14 2012 22:27:21 manjunatha_ha...@ti.com wrote: > From: Manjunatha Halli > > This patch creates new ctrl class for FM RX and adds new CID's for > below FM features, > 1) De-Emphasis filter mode > 2) RDS Alternate Frequency switch > > Also this patch adds a field for band s

[PATCH] rc-it913x=v2 Incorrect assigned KEY_1

2012-05-14 Thread Malcolm Priestley
Correct incorrect scancode for KEY_1 Signed-off-by: Malcolm Priestley --- drivers/media/rc/keymaps/rc-it913x-v2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/keymaps/rc-it913x-v2.c b/drivers/media/rc/keymaps/rc-it913x-v2.c index 28e376e..bd42a30 10064

[PATCH] m88rs2000 - only flip bit 2 on reg 0x70 on 16th try

2012-05-14 Thread Malcolm Priestley
Continuous flip of bit2 reg 0x70 can cause device to become unresponsive. Also correct reg read mistake. Signed-off-by: Malcolm Priestley --- drivers/media/dvb/frontends/m88rs2000.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/m88rs2000

[PATCH V6 1/5] WL128x: Add support for FM TX RDS

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch adds support for following FM TX RDS features, 1. Radio Text 2. PS Name 3. PI Code 4. PTY Code. Along with above this patch fixes few other minor issues(like fm tx get frequency, unnecessary error messages etc). Signed-off-by: Manjunatha Hal

[PATCH V6 2/5] New control class and features for FM RX

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1) De-Emphasis filter mode 2) RDS Alternate Frequency switch Also this patch adds a field for band selection in struct v4l2_hw_freq_seek and adds new capability flags for all

[PATCH V6 3/5] Add new CID for FM TX RDS Alternate Frequency

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli Signed-off-by: Manjunatha Halli --- drivers/media/video/v4l2-ctrls.c |1 + include/linux/videodev2.h|1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 9d7608e..6100

[PATCH V6 0/5] [Media] Radio: Fixes and New features for FM

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli Mauro and the list, This version 6 of patchset resolves the comments received from Han's on patchset v5. This patchset creates new control class 'V4L2_CTRL_CLASS_FM_RX' for FM RX, introduces 2 new CID's for FM RX and and 1 new CID for FM TX. Also adds 1 field in

[PATCH V6 4/5] Media: Update docs for V4L2 FM new features

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch 3) New FM TX CID - RDS Alternate frequency set. 4) New capability struct v4l2_tuner flags for band selection Signed-off-

[PATCH V6 5/5] WL12xx: Add support for FM new features.

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch adds below features to TI's V4l2 FM driver for Wilink chipsets, 1) FM RX Set frequency allows to set frequency anywhere between 65.5 MHz till 108 MHz (if chip is Wilink8 then till 164.55 MHz) 2) FM RX seek caters for band switch 3

[PATCH] lmedm04 ver 2.00 - changes for [TEST] Regarding m88rc2000 i2c gate operation, SNR, BER and others

2012-05-14 Thread Malcolm Priestley
Re: [PATCH] [TEST] Regarding m88rc2000 i2c gate operation, SNR, BER and others This patch restores more less as before, except; Corrected snr/signal strength are swapped. m88rs2000_set_voltage is now called inside dm04_lme2510_set_voltage this seems to stop intermittent loss of device during ch

Re: [PATCH V5 4/5] Media: Update docs for V4L2 FM new features

2012-05-14 Thread Hans Verkuil
Just some comments on the spacing... On Mon May 14 2012 21:24:28 manjunatha_ha...@ti.com wrote: > From: Manjunatha Halli > > The list of new features - > 1) New control class for FM RX > 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch > 3) New FM TX CID - RDS Alt

Re: [PATCH V5 2/5] New control class and features for FM RX

2012-05-14 Thread Hans Verkuil
Hi Manjunatha, I wish I could ack this series, but there is one thing that really needs to change: On Mon May 14 2012 21:24:26 manjunatha_ha...@ti.com wrote: > @@ -1843,13 +1857,22 @@ struct v4l2_frequency { > __u32 reserved[8]; > }; > > + > +#define FM_BAND_TYPE_DEFAULT

[PATCH V5 2/5] New control class and features for FM RX

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1) De-Emphasis filter mode 2) RDS Alternate Frequency switch Also this patch adds a field for band selection in struct v4l2_hw_freq_seek and adds new capability flags for all

[PATCH V5 3/5] Add new CID for FM TX RDS Alternate Frequency

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli Signed-off-by: Manjunatha Halli --- drivers/media/video/v4l2-ctrls.c |1 + include/linux/videodev2.h|1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 9d7608e..6100

[PATCH V5 4/5] Media: Update docs for V4L2 FM new features

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch 3) New FM TX CID - RDS Alternate frequency set. 4) New capability struct v4l2_tuner flags for band selection Signed-off-

[PATCH V5 5/5] WL12xx: Add support for FM new features.

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch adds below features to TI's V4l2 FM driver for Wilink chipsets, 1) FM RX Set frequency allows to set frequency anywhere between 65.5 MHz till 108 MHz (if chip is Wilink8 then till 164.55 MHz) 2) FM RX seek caters for band switch 3

[PATCH V5 1/5] WL128x: Add support for FM TX RDS

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli This patch adds support for following FM TX RDS features, 1. Radio Text 2. PS Name 3. PI Code 4. PTY Code. Along with above this patch fixes few other minor issues(like fm tx get frequency, unnecessary error messages etc). Signed-off-by: Manjunatha Hal

[PATCH V5 0/5] [Media] Radio: Fixes and New features for FM

2012-05-14 Thread manjunatha_halli
From: Manjunatha Halli Mauro and the list, This version 5 of patchset resolves the comments received from Han's on patchset v4. This patchset creates new control class 'V4L2_CTRL_CLASS_FM_RX' for FM RX, introduces 2 new CID's for FM RX and and 1 new CID for FM TX. Also adds 1 field in struct v4

[RFC PATCH 2/2] feature-removal: ISA video capture and parport webcams drivers

2012-05-14 Thread Hans Verkuil
From: Hans Verkuil Announce the removal of the pms ISA video capture driver and the parallel port w9966, bw-qcam and c-qcam drivers. Signed-off-by: Hans Verkuil --- Documentation/feature-removal-schedule.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/featur

[RFC PATCH 1/2] pms/w9966/bw-qcam/c-qcam: mark drivers as deprecated.

2012-05-14 Thread Hans Verkuil
From: Hans Verkuil Nobody has the hardware anymore to test it with, and really nobody cares. Deprecated these drivers. Signed-off-by: Hans Verkuil --- drivers/media/video/Kconfig | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/Kco

[RFC PATCH 0/2] Proposal to deprecate four drivers

2012-05-14 Thread Hans Verkuil
Hi all, These two patches deprecate the ISA video capture pms driver and the three parallel port webcam drivers bw-qcam, c-qcam and w9966. Nobody has hardware for the three parallel port webcams anymore (and we really tried to get hold of some), and my ISA pms board also no longer works (I suspec

Re: [PATCH 02/10] DocBook: document new DTV Properties for ATSC-MH delivery system

2012-05-14 Thread Mauro Carvalho Chehab
Em 01-05-2012 01:12, Michael Krufky escreveu: > Signed-off-by: Michael Krufky Where's the patch description? For sure a patch like that deserves to be well described. > --- > Documentation/DocBook/media/dvb/dvbproperty.xml | 178 > +++ > 1 files changed, 178 insertions(+),

[GIT PULL FOR v3.5] More old driver cleanups

2012-05-14 Thread Hans Verkuil
Hi Mauro, I'd almost forgotten that I had these done as well. These are all trivial, but nobody is able to test it since nobody has the hardware. Regards, Hans The following changes since commit 152a3a7320d1582009db85d8be365ce430d079af: [media] v4l2-dev: rename two functions (2012-05

cron job: media_tree daily build: ERRORS

2012-05-14 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 May 14 19:00:22 CEST 2012 git hash:528f0f785c042c80294708c5ae2c8005b4a0ee60 gcc version: i686-linux-gcc (GC

[PATCH] V4L: Rename V4L2_SEL_TGT_[CROP/COMPOSE]_ACTIVE to V4L2_SEL_TGT_[CROP/COMPOSE]

2012-05-14 Thread Sylwester Nawrocki
This patch drops the _ACTIVE part from the selection target names as a prerequisite to unify the selection target names on subdevs and regular video nodes. Although not exactly the same, the meaning of V4L2_SEL_TGT_*_ACTIVE and V4L2_SUBDEV_SEL_TGT_*_ACTUAL selection targets is logically the same.

Re: [PATCH v5 18/35] v4l: Allow changing control handler lock

2012-05-14 Thread Sylwester Nawrocki
On 05/14/2012 05:45 PM, Sakari Ailus wrote: > Ooops. The patch included the changes for adp1653 and vivi which I found to be > the only drivers using the lock directly. I somehow missed s5p-fimc --- sorry > about that. It's all right, no big deal. I'll make a patch to correct this. -- Regards Sy

Re: [GIT PULL FOR v3.5] Implement V4L2_CID_PIXEL_RATE in various drivers

2012-05-14 Thread Mauro Carvalho Chehab
Sakari, Em 14-05-2012 12:56, Sakari Ailus escreveu: > Hi all, > > Here are a few patches that implement V4L2_CID_PIXEL_RATE in a couple of > drivers. The control is soon required by some CSI-2 receivers to configure > the hardware, such as the OMAP 3 ISP one. Before spreading this everywhere, le

Re: [GIT PULL FOR v3.5] Three small improvements

2012-05-14 Thread Hans Verkuil
On Mon May 14 2012 16:47:19 Laurent Pinchart wrote: > Hi Hans, > > On Monday 14 May 2012 16:37:23 Hans Verkuil wrote: > > Hi Mauro, Laurent, > > > > I hope that these three patches address the comments Laurent made. > > Thank you. There's a typo in the first patch: > > "Otherwise you give it a

[GIT PULL FOR v3.5] Implement V4L2_CID_PIXEL_RATE in various drivers

2012-05-14 Thread Sakari Ailus
Hi all, Here are a few patches that implement V4L2_CID_PIXEL_RATE in a couple of drivers. The control is soon required by some CSI-2 receivers to configure the hardware, such as the OMAP 3 ISP one. --- The following changes since commit e89fca923f32de26b69bf4cd604f7b960b161551: [media] gspca

Re: [PATCH v5 18/35] v4l: Allow changing control handler lock

2012-05-14 Thread Sylwester Nawrocki
On 05/14/2012 05:27 PM, Sylwester Nawrocki wrote: > Hi Sakari, > > On 03/06/2012 05:32 PM, Sakari Ailus wrote: >> Allow choosing the lock used by the control handler. This may be handy >> sometimes when a driver providing multiple subdevs does not want to use >> several locks to serialise its func

Re: [PATCH v5 18/35] v4l: Allow changing control handler lock

2012-05-14 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: Hi Sakari, On 03/06/2012 05:32 PM, Sakari Ailus wrote: Allow choosing the lock used by the control handler. This may be handy sometimes when a driver providing multiple subdevs does not want to use several locks to serialise its functions. Signed-off-by

Re: [PATCH v5 18/35] v4l: Allow changing control handler lock

2012-05-14 Thread Sylwester Nawrocki
Hi Sakari, On 03/06/2012 05:32 PM, Sakari Ailus wrote: > Allow choosing the lock used by the control handler. This may be handy > sometimes when a driver providing multiple subdevs does not want to use > several locks to serialise its functions. > > Signed-off-by: Sakari Ailus > --- > drivers/m

Re: [GIT PULL FOR v3.5] Three small improvements

2012-05-14 Thread Laurent Pinchart
Hi Hans, On Monday 14 May 2012 16:37:23 Hans Verkuil wrote: > Hi Mauro, Laurent, > > I hope that these three patches address the comments Laurent made. Thank you. There's a typo in the first patch: "Otherwise you give it a pointer to a struct mutex_lock and the unlocked_ioctl file operation is

[GIT PULL FOR v3.5] Three small improvements

2012-05-14 Thread Hans Verkuil
Hi Mauro, Laurent, I hope that these three patches address the comments Laurent made. The only remaining item is to take the ioctl lock after copy_from user is called. But that's for 3.6. Regards, Hans The following changes since commit e89fca923f32de26b69bf4cd604f7b960b161551: [med

Re: [RFCv1 PATCH 5/5] v4l2-dev: add flag to have the core lock all file operations.

2012-05-14 Thread Laurent Pinchart
Hi Hans, On Monday 14 May 2012 15:42:37 Hans Verkuil wrote: > On Mon May 14 2012 14:31:32 Laurent Pinchart wrote: > > On Thursday 10 May 2012 09:05:14 Hans Verkuil wrote: > > > From: Hans Verkuil > > > > > > This used to be the default if the lock pointer was set, but now that > > > lock is by d

Re: [RFCv1 PATCH 2/5] v4l2-dev/ioctl: determine the valid ioctls upfront.

2012-05-14 Thread Laurent Pinchart
Hi Hans, On Monday 14 May 2012 15:51:27 Hans Verkuil wrote: > On Mon May 14 2012 15:00:05 Laurent Pinchart wrote: > > On Thursday 10 May 2012 09:05:11 Hans Verkuil wrote: > > > From: Hans Verkuil > > > > > > Rather than testing whether an ioctl is implemented in the driver or not > > > every tim

[PATCH 1/2] [media] ati_remote: add keymap for Medion X10 OR2x remotes

2012-05-14 Thread Anssi Hannula
Add another Medion X10 remote keymap. This is for the Medion OR2x remotes with the Windows MCE button. The receiver shipped with this remote has the same USB ID as the other Medion receivers, but the name is different and is therefore used to detect this variant. Signed-off-by: Anssi Hannula ---

[PATCH 2/2] [media] ati_remote: add regular up/down buttons to Medion Digitainer keymap

2012-05-14 Thread Anssi Hannula
There are many different Medion X10 remotes that need slightly different keymaps. We may not yet have all the needed keymaps, in which case a wrong keymap may be used. This happened with Medion X10 OR2x remotes before the keymap for them was added, causing the ati_remote driver to select the Medion

Re: [RFCv1 PATCH 2/5] v4l2-dev/ioctl: determine the valid ioctls upfront.

2012-05-14 Thread Hans Verkuil
On Mon May 14 2012 15:00:05 Laurent Pinchart wrote: > Hi Hans, > > Thanks for the patch. > > On Thursday 10 May 2012 09:05:11 Hans Verkuil wrote: > > From: Hans Verkuil > > > > Rather than testing whether an ioctl is implemented in the driver or not > > every time the ioctl is called, do it upf

Re: [RFCv1 PATCH 5/5] v4l2-dev: add flag to have the core lock all file operations.

2012-05-14 Thread Hans Verkuil
Hi Laurent, Thanks for the review! On Mon May 14 2012 14:31:32 Laurent Pinchart wrote: > Hi Hans, > > Thanks for the patch. > > On Thursday 10 May 2012 09:05:14 Hans Verkuil wrote: > > From: Hans Verkuil > > > > This used to be the default if the lock pointer was set, but now that lock > > is

[GIT PULL FOR v3.5] Fix compiler warnings

2012-05-14 Thread Hans Verkuil
Hi Mauro, Here is the rebased version incorporating your remarks. Instead of commenting out variables I now put them under #if 0 together with the relevant piece of 'TODO' code. Regards, Hans The following changes since commit e89fca923f32de26b69bf4cd604f7b960b161551: [media] gspca -

[GIT PULL FOR v3.5] saa7146 clean ups/fixes

2012-05-14 Thread Hans Verkuil
Hi Mauro, Since this is your last day of merges I'd thought I'd put this in your queue as well. This patch series cleans up saa7146, mxb, hexium-orion, hexium-gemini and av7110. These drivers now all pass the v4l2-compliance tests. I've tested with all of these cards, the only driver I was unabl

Re: [GIT PULL FOR 3.5] s5p-fimc driver updates

2012-05-14 Thread Mauro Carvalho Chehab
Em 14-05-2012 10:04, Mauro Carvalho Chehab escreveu: > Em 04-05-2012 12:31, Sylwester Nawrocki escreveu: >> Hi Mauro, >> >> The following changes since commit 34b2debaa62bfa384ef91b61cf2c40c48e86a5e2: >> >> s5p-fimc: Correct memory allocation for VIDIOC_CREATE_BUFS (2012-05-04 >> 17:07:24 +0200)

Re: [GIT PULL FOR 3.5] s5p-fimc driver updates

2012-05-14 Thread Mauro Carvalho Chehab
Em 04-05-2012 12:31, Sylwester Nawrocki escreveu: > Hi Mauro, > > The following changes since commit 34b2debaa62bfa384ef91b61cf2c40c48e86a5e2: > > s5p-fimc: Correct memory allocation for VIDIOC_CREATE_BUFS (2012-05-04 > 17:07:24 +0200) > > are available in the git repository at: > > git://

Re: [RFCv1 PATCH 2/5] v4l2-dev/ioctl: determine the valid ioctls upfront.

2012-05-14 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Thursday 10 May 2012 09:05:11 Hans Verkuil wrote: > From: Hans Verkuil > > Rather than testing whether an ioctl is implemented in the driver or not > every time the ioctl is called, do it upfront when the device is registered. > > This also allows a driver to

Re: [ANN] Selection API naming meeting #v4l-meeting next Monday

2012-05-14 Thread Sakari Ailus
On Thu, May 10, 2012 at 11:18:49PM +0300, Sakari Ailus wrote: > Hi all, > > Let's have a quick meeting 14:00 Finnish time (GMT + 3) next Monday on > #v4l-meeting on two topics: > > - Selection target naming. It has been proposed that the _ACTUAL / _ACTIVE > be removed and e.g. the crop targets

Re: [RFCv1 PATCH 5/5] v4l2-dev: add flag to have the core lock all file operations.

2012-05-14 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Thursday 10 May 2012 09:05:14 Hans Verkuil wrote: > From: Hans Verkuil > > This used to be the default if the lock pointer was set, but now that lock > is by default only used for ioctl serialization. Shouldn't that be documented ? Documentation/video4linux/v4

Re: Fwd: Bug#669715: dvb-apps: Channel/frequency/etc. data needs updating for London transmitters

2012-05-14 Thread Andrew Benham
Of course it's not just the data for the London transmitters which needs to be updated - most of GB has now switched to digital only with different channel allocations. I've been using the information from http://stakeholders.ofcom.org.uk/broadcasting/guidance/tech-guidance/dsodetails/ to derive n

[PATCH] [media] s5p-mfc: Use devm_* functions in s5p_mfc.c file

2012-05-14 Thread Sachin Kamat
devm_* functions are device managed functions and make error handling and cleanup simpler. Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-mfc/s5p_mfc.c| 63 ++ drivers/media/video/s5p-mfc/s5p_mfc_common.h |2 - 2 files changed, 14 insertions(+), 51

Re: [PATCH] drivers:media:video:uvc: fix uvc_v4l2_get_unmapped_area for NOMMU

2012-05-14 Thread Laurent Pinchart
Hi Bob, On Monday 14 May 2012 18:23:59 Bob Liu wrote: > Fix uvc_v4l2_get_unmapped_area() for NOMMU arch like blackfin after > framework updated to use videobuf2. Thank you for the patch, but I'm afraid you're too late. The fix is already queued for v3.5 :-) > Signed-off-by: Bob Liu > --- > dr

Re: [PATCH 1/6] libdvbv5 shared lib

2012-05-14 Thread Mauro Carvalho Chehab
Em 13-05-2012 11:18, Gregor Jasny escreveu: > Hello, > > I noticed the dvb library is partially licensed as GPL2 and partially > LGPL2.1+. Do you consider a re-licensing to LGPL2.1? It is actually released as GPLv2 only. There's one file with LGPL2.1 only there: the DVB frontend API file (include

Re: [PATCH v2 0/3] gspca - ov534: saturation and hue (using fixp-arith.h)

2012-05-14 Thread Antonio Ospite
On Sun, 6 May 2012 12:14:55 +0200 Antonio Ospite wrote: > Hi, [...] > > Antonio Ospite (3): > gspca - ov534: Add Saturation control > Input: move drivers/input/fixp-arith.h to include/linux > gspca - ov534: Add Hue control > These changes are now in http://git.linuxtv.org/hgoede/gspca.

[GIT PULL for v3.4-final] media fixes

2012-05-14 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For a some fix patches for v3.4, including a regression fix at DVB core. Thanks! Mauro - Latest commit at the branch: 788ab1bb03d304232711b6ca9718534f588ee9fc [media] gspca - sonixj:

[PATCH] drivers:media:video:uvc: fix uvc_v4l2_get_unmapped_area for NOMMU

2012-05-14 Thread Bob Liu
Fix uvc_v4l2_get_unmapped_area() for NOMMU arch like blackfin after framework updated to use videobuf2. Signed-off-by: Bob Liu --- drivers/media/video/uvc/uvc_queue.c | 30 -- drivers/media/video/uvc/uvc_v4l2.c |2 +- 2 files changed, 1 insertions(+), 31 deleti

Re: [PATCH 1/2] staging: media: go7007: Adlink MPG24 board

2012-05-14 Thread Dan Carpenter
On Mon, May 14, 2012 at 01:25:43PM +0400, vol...@telros.ru wrote: > On Mon, May 14, 2012 at 12:04:15PM +0300, Dan Carpenter wrote: > > On Mon, May 14, 2012 at 12:09:18PM +0400, vol...@telros.ru wrote: > > > It`s very horrible to describe every changing... > > > > Maybe, but that's the rules. The

[PATCH] s5p-jpeg: Use devm_* functions in jpeg-core.c file

2012-05-14 Thread Sachin Kamat
devm_* functions are used to replace kzalloc, request_mem_region, ioremap and request_irq functions in probe call. With the usage of devm_* functions explicit freeing and unmapping is not required. Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-jpeg/jpeg-core.c | 58 +-

[PATCH] s5p-g2d: Use devm_* functions in g2d.c file

2012-05-14 Thread Sachin Kamat
devm_* functions are device managed functions and make error handling and cleanup simpler. Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-g2d/g2d.c | 47 drivers/media/video/s5p-g2d/g2d.h |1 - 2 files changed, 11 insertions(+), 37 deletions(-)

Re: [PATCH 1/2] staging: media: go7007: Adlink MPG24 board

2012-05-14 Thread Dan Carpenter
On Mon, May 14, 2012 at 12:09:18PM +0400, vol...@telros.ru wrote: > It`s very horrible to describe every changing... Maybe, but that's the rules. There has to be a reason for every change otherwise why are you doing crap for no reason? It's not hard to break changes up into separate commits by t

Re: [PATCH 1/2] staging: media: go7007: Adlink MPG24 board

2012-05-14 Thread volokh
On Sun, May 13, 2012 at 10:21:48PM +0300, Dan Carpenter wrote: > On Sun, May 13, 2012 at 10:52:41PM +0400, Volokh Konstantin wrote: > > This patch applies only for Adlink MPG24 board with go7007, all these > > changes were tested for continuous loading & restarting modes > > > > This is minimal c

Re: [PATCH v2 01/13] davinci: vpif: add check for genuine interrupts in the isr

2012-05-14 Thread Laurent Pinchart
Hi Manjunath, On Friday 11 May 2012 05:32:13 Hadli, Manjunath wrote: > On Tue, Apr 17, 2012 at 15:36:16, Laurent Pinchart wrote: > > On Tuesday 17 April 2012 14:22:59 Manjunath Hadli wrote: > > > As the same interrupt is shared between capture and display devices, > > > sometimes we get isr calls

Re: [PATCH v2 05/13] davinci: vpif display: declare contiguous region of memory handled by dma_alloc_coherent

2012-05-14 Thread Laurent Pinchart
Hi Manjunath, On Friday 11 May 2012 05:30:43 Hadli, Manjunath wrote: > On Tue, Apr 17, 2012 at 15:32:55, Laurent Pinchart wrote: > > On Tuesday 17 April 2012 14:23:03 Manjunath Hadli wrote: > > > add support to declare contiguous region of memory to be handled when > > > requested by dma_alloc_coh

Re: [PATCH 0/3] V4L2_CID_PIXEL_RATE support in sensor drivers

2012-05-14 Thread Laurent Pinchart
Hi Sakari, On Monday 14 May 2012 00:53:36 Sakari Ailus wrote: > On Wed, May 09, 2012 at 02:55:56PM +0200, Laurent Pinchart wrote: > > Hi everybody, > > > > This patch implements support for the V4L2_CID_PIXEL_RATE control in the > > mt9t001, mt9p031 and mt9m032 sensor drivers. > > > > Recent cha