Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-16 Thread Scott Jiang
Hi Sylwester , >> @@ -9,7 +9,18 @@ config VIDEO_BLACKFIN_CAPTURE >> To compile this driver as a module, choose M here: the >> module will be called bfin_capture. >> >> +config VIDEO_BLACKFIN_DISPLAY >> + tristate "Blackfin Video Display Driver" >> + depends on VIDEO

PureMessage has encountered the following event(s): Virus infection detected

2013-04-16 Thread icomms
This sender alert message is generated by PureMessage because it has encountered the following events. Event(s): Virus infection detected Message action: Message deleted Message ID:<201d9550-27ab-446d-9d13-bdb627552451@IMOSSI-SBS.imossi.local> Subject: Mail System Error - Returned Mail Sender: li

Re: [PATCH v2 00/31] Add r820t support at rtl28xxu

2013-04-16 Thread Antti Palosaari
Tested-by: Antti Palosaari On 04/17/2013 03:42 AM, Mauro Carvalho Chehab wrote: Add a tuner driver for Rafael Micro R820T silicon tuner. This tuner seems to be popular those days. Add support for it at rtl28xxu. This tuner was written from scratch, based on rtl-sdr driver. Mauro Carvalho Ch

[PATCH v2 21/31] [media] r820t: add IMR calibrate code

2013-04-16 Thread Mauro Carvalho Chehab
This code seems to calibrate I/Q phase and gain during the device initialization. This is done only once, and it doesn't seem to be needed to happen after resuming. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 702 +-- 1 file cha

[PATCH v2 17/31] [media] r820t: split the function that read cached regs

2013-04-16 Thread Mauro Carvalho Chehab
As we'll need to retrieve cached registers, make this function explicit. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c ind

[PATCH v2 13/31] [media] r820t: use the second table for 7MHz

2013-04-16 Thread Mauro Carvalho Chehab
The Realtek Kernel driver uses the second DVB-T 7MHz table instead of the first one. Use it as well. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/medi

[PATCH v2 12/31] [media] r820t: Invert bits for read ops

2013-04-16 Thread Mauro Carvalho Chehab
On read, the bit order is inverted. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 48ff6bb..79ab2b7 100644 --- a/drivers/media/tun

[PATCH v2 28/31] [media] r820t: put it into automatic gain mode

2013-04-16 Thread Mauro Carvalho Chehab
Currently, it is putting it on manual mode. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index c644e90..e63ee94 100644 --- a/drivers/medi

[PATCH v2 11/31] [media] rtl2832: properly set en_bbin for r820t

2013-04-16 Thread Mauro Carvalho Chehab
DVBT_EN_BBIN should be set on both places where IF is set. So, move it to a function and call it where needed. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/rtl2832.c | 63 +-- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/

[PATCH v2 04/31] [media] r820t: Set gain mode to auto

2013-04-16 Thread Mauro Carvalho Chehab
This tuner works with 2 modes: automatic gain mode and manual gain mode. Put it into automatic mode, as we currently don't have any API for manual gain adjustment. The logic to allow setting the manual mode is there, as it is just a few extra code. This way, if/when we latter add support for settin

[PATCH v2 19/31] [media] r820t: use usleep_range()

2013-04-16 Thread Mauro Carvalho Chehab
Instead of using msleep(), use sleep_range(), as it provides a closer sleep time. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index e9

[PATCH v2 07/31] [media] rtl820t: Add a debug msg when PLL gets locked

2013-04-16 Thread Mauro Carvalho Chehab
[ 2255.342797] r820t 3-001a: generic_set_freq: PLL locked on frequency 725476191 Hz, gain=45 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index

[PATCH v2 02/31] [media] rtl28xxu: add support for Rafael Micro r820t

2013-04-16 Thread Mauro Carvalho Chehab
This tuner is used on some rtl2882 dongles. Add it to the driver. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb-v2/Kconfig| 1 + drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 30 ++ drivers/media/usb/dvb-usb-v2/rtl28xxu.h | 1 + 3 files changed,

[PATCH v2 30/31] [media] r820t: disable auto gain/VGA setting

2013-04-16 Thread Mauro Carvalho Chehab
On field tests, the auto gain routine is not working, nor it is used by the original driver. Let's comment it for now. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/

[PATCH v2 20/31] [media] r820t: proper initialize the PLL register

2013-04-16 Thread Mauro Carvalho Chehab
The rtl-sdr library, from where this driver was initially based, doesn't use half PLL clock, but this is used on the Realtek Kernel driver. So, also do the same here. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 43 --- drivers/m

[PATCH v2 16/31] [media] r820t: better report signal strength

2013-04-16 Thread Mauro Carvalho Chehab
If signal is zero, shows it as a zero, not as 0xff. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 5be4635..d5686e8 100644 --- a/drivers/media/tuners/r82

[PATCH v2 25/31] [media] r820t: Don't put it in standby if not initialized yet

2013-04-16 Thread Mauro Carvalho Chehab
r820t_standby() can be called before r820t_init(). If that happens, just do nothing. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index fc660f2..b679a3f 10

[PATCH v2 06/31] [media] r820t: proper lock and set the I2C gate

2013-04-16 Thread Mauro Carvalho Chehab
As this tuner can be used by analog and digital parts of the driver, be sure that all ops that access the hardware will be be properly locked. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 50 +--- 1 file changed, 33 insertions(+)

[PATCH v2 00/31] Add r820t support at rtl28xxu

2013-04-16 Thread Mauro Carvalho Chehab
Add a tuner driver for Rafael Micro R820T silicon tuner. This tuner seems to be popular those days. Add support for it at rtl28xxu. This tuner was written from scratch, based on rtl-sdr driver. Mauro Carvalho Chehab (31): [media] r820t: Add a tuner driver for Rafael Micro R820T silicon tuner

[PATCH v2 09/31] [media] rtl2832: add code to bind r820t on it

2013-04-16 Thread Mauro Carvalho Chehab
There are some init stuff to be done for each new tuner at the demod code. Add the code there for r820t. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/rtl2832.c | 76 +++--- drivers/media/dvb-frontends/rtl2832.h | 1 + drivers/media/dvb-f

[PATCH v2 29/31] [media] rtl2832: Fix IF calculus

2013-04-16 Thread Mauro Carvalho Chehab
Spectrum is inverted. So, we need to invert it when calculating the value for the IF register Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/rtl2832.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontend

[PATCH v2 22/31] [media] r820t: add a commented code for GPIO

2013-04-16 Thread Mauro Carvalho Chehab
Add the code to set the GPIO for this tuner. This code is currently unused, so it is kept there only for completeness. With this patch there are just two things that got left from the original driver: - At standby, there's another mode, not used by rtl2832u. Not sure if it might be needed in the

[PATCH v2 01/31] [media] r820t: Add a tuner driver for Rafael Micro R820T silicon tuner

2013-04-16 Thread Mauro Carvalho Chehab
This driver was written from scratch, based on an existing driver that it is part of rtl-sdr git tree, released under GPLv2: https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug https://github.com/n1gp/gr-baz http://cgit.osmocom.org/rtl-sdr/plain/src/tuner_r82

[PATCH v2 26/31] [media] r820t: fix PLL calculus

2013-04-16 Thread Mauro Carvalho Chehab
There are a few errors at the PLL calculus, causing the device to use wrong values. While here, change the calculus to use 32 bits, as there's no need for 64 bits there. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 27 ++- 1 file changed, 10 ins

[PATCH v2 23/31] [media] r820t: Allow disabling IMR callibration

2013-04-16 Thread Mauro Carvalho Chehab
The rtl-sdr library disabled IMR callibration. While I'm not sure yet why, it could be a good idea to add a modprobe parameter here, to allow to also disable it. There are two rationale behind it: - It helps to compare USB dumps between rtl-sdr and the Kernel module; - If rtl-sdr disabled it, perha

[PATCH v2 15/31] [media] r820t: add support for diplexer

2013-04-16 Thread Mauro Carvalho Chehab
This is part of the original driver, and adding it doesn't hurt, so add it, to better sync the code. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 12 drivers/media/tuners/r820t.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v2 24/31] [media] r820t: avoid rewrite all regs when not needed

2013-04-16 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 2e6a690..fc660f2 100644 --- a/drivers/media/tuners/r820t.c +++ b/drivers/media/tu

[PATCH v2 27/31] [media] r820t: Fix hp_cor filter mask

2013-04-16 Thread Mauro Carvalho Chehab
The bit mask was inverted here. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index f5a5fb0..c644e90 100644 --- a/drivers/media/tuners/r820t.c +

[PATCH v2 31/31] [media] r820t: Don't divide the IF by two

2013-04-16 Thread Mauro Carvalho Chehab
The original Win driver doesn't do; rtl-sdr also disabled that piece of the code. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 8d99779..905a106 100644

[PATCH v2 18/31] [media] r820t: fix prefix of the r820t_read() function

2013-04-16 Thread Mauro Carvalho Chehab
Just cosmetic changes: all other functions are prefixed by r820t. Do the same for r820t_read(). Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/

[PATCH v2 03/31] [media] r820t: Give a better estimation of the signal strength

2013-04-16 Thread Mauro Carvalho Chehab
Instead of a binary signal strength measure, use the tuner gain to obtain a better estimation of the signal strength. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH v2 14/31] [media] r820t: Show the read data in the bit-reversed order

2013-04-16 Thread Mauro Carvalho Chehab
As the driver's logic uses the bit-reversed order for read, use it as well when displaying the debug messages. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/med

[PATCH v2 08/31] [media] r820t: Fix IF scale

2013-04-16 Thread Mauro Carvalho Chehab
Scale used at get_if_freq and LO freq calculus is Hz. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t.c index 1821cf1..2ecf1d2 100644 --- a/drivers/

[PATCH v2 10/31] [media] r820t: use the right IF for the selected TV standard

2013-04-16 Thread Mauro Carvalho Chehab
IF is set at r820t_set_tv_standard(). So, we can't calculate LO frequency before calling it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/r820t.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/tuners/r820t.c b/drivers/media/tuners/r820t

[PATCH v2 05/31] [media] rtl28xxu: use r820t to obtain the signal strength

2013-04-16 Thread Mauro Carvalho Chehab
Now that we can get the strength from r820t, use it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c index 18756a6..22015fe

Re: [PATCH] [media] uvcvideo: quirk PROBE_DEF for Dell Studio / OmniVision webcam

2013-04-16 Thread Laurent Pinchart
Hi Kamal, On Monday 15 April 2013 12:01:51 Kamal Mostafa wrote: > BugLink: https://bugs.launchpad.net/bugs/1168430 > > OminiVision webcam 0x05a9:0x264a (in Dell Studio Hybrid 140g) needs the > same UVC_QUIRK_PROBE_DEF as other OmniVision model to be recognized > consistently. > > Signed-off-by:

[PATCH] [media] sta2x11_vip: Fix compilation if I2C is not set

2013-04-16 Thread Mauro Carvalho Chehab
>From Fengguang Wu : > drivers/media/pci/sta2x11/sta2x11_vip.c: In function 'sta2x11_vip_init_one': > drivers/media/pci/sta2x11/sta2x11_vip.c:1314:2: error: implicit declaration > of function 'i2c_get_adapter' [-Werror=implicit-function-declaration] > drivers/media/pci/sta2x11/sta2x11_vip.c:1314:

Re: [PATCH v2] [media] it913x: rename its tuner driver to tuner_it913x

2013-04-16 Thread Antti Palosaari
On 04/17/2013 01:49 AM, Mauro Carvalho Chehab wrote: There are three drivers with *it913x name on it, and they all belong to the same device: a tuner, at it913x.c; a frontend: it913x-fe.c; a bridge: it913x.c, renamed to dvb_usb_it913x by the building system. This is confu

[PATCH v2] [media] it913x: rename its tuner driver to tuner_it913x

2013-04-16 Thread Mauro Carvalho Chehab
There are three drivers with *it913x name on it, and they all belong to the same device: a tuner, at it913x.c; a frontend: it913x-fe.c; a bridge: it913x.c, renamed to dvb_usb_it913x by the building system. This is confusing. Even more confusing are the two .c files with the

[PATCH] [media] it913x: rename its tuner driver to tuner_it913x

2013-04-16 Thread Mauro Carvalho Chehab
There are three drivers with *it913x name on it, and they all belong to the same device: a tuner, at it913x.c; a frontend: it913x-fe.c; a bridge: it913x.c, renamed to dvb_usb_it913x by the building system. This is confusing. Even more confusing are the two .c files with the

Re: [PATCH 04/28] proc: Supply PDE attribute setting accessor functions [RFC]

2013-04-16 Thread Mauro Carvalho Chehab
Em 16-04-2013 15:26, David Howells escreveu: Supply accessor functions to set attributes in proc_dir_entry structs. The following are supplied: proc_set_size() and proc_set_user(). Signed-off-by: David Howells cc: linuxppc-...@lists.ozlabs.org cc: linux-media@vger.kernel.org cc: net...@vger.ke

Re: [PATCH 16/28] zoran: Don't print proc_dir_entry data in debug [RFC]

2013-04-16 Thread Mauro Carvalho Chehab
Em 16-04-2013 15:26, David Howells escreveu: Don't print proc_dir_entry data in debug as we're soon to have no direct access to the contents of the PDE. Print what was put in there instead. Let me just apply this simple one, as it doesn't depend on the rest of the patches in this series. Si

Re: [RFC v2013-04-11] SDR API REQUIREMENT SPECIFICATION

2013-04-16 Thread Mauro Carvalho Chehab
Em 16-04-2013 15:17, Antti Palosaari escreveu: On 04/16/2013 08:26 PM, Mauro Carvalho Chehab wrote: Em 16-04-2013 11:36, Antti Palosaari escreveu: On 04/16/2013 11:09 AM, Mauro Carvalho Chehab wrote: Hi Antti, See my comments below. As I already commented, IMO, we should add SDR as an extensi

[PATCH 04/28] proc: Supply PDE attribute setting accessor functions [RFC]

2013-04-16 Thread David Howells
Supply accessor functions to set attributes in proc_dir_entry structs. The following are supplied: proc_set_size() and proc_set_user(). Signed-off-by: David Howells cc: linuxppc-...@lists.ozlabs.org cc: linux-media@vger.kernel.org cc: net...@vger.kernel.org cc: linux-wirel...@vger.kernel.org cc:

[PATCH 16/28] zoran: Don't print proc_dir_entry data in debug [RFC]

2013-04-16 Thread David Howells
Don't print proc_dir_entry data in debug as we're soon to have no direct access to the contents of the PDE. Print what was put in there instead. Signed-off-by: David Howells cc: mjpeg-us...@lists.sourceforge.net cc: linux-media@vger.kernel.org --- drivers/media/pci/zoran/zoran_procfs.c |2

Re: [RFC v2013-04-11] SDR API REQUIREMENT SPECIFICATION

2013-04-16 Thread Antti Palosaari
On 04/16/2013 08:26 PM, Mauro Carvalho Chehab wrote: Em 16-04-2013 11:36, Antti Palosaari escreveu: On 04/16/2013 11:09 AM, Mauro Carvalho Chehab wrote: Hi Antti, See my comments below. As I already commented, IMO, we should add SDR as an extension to V4L2 API. We have enough headaches by havi

Re: [GIT PULL FOR v3.10] Camera sensors patches

2013-04-16 Thread Sylwester Nawrocki
Cc: Mark, Mike On 04/16/2013 07:36 PM, Mauro Carvalho Chehab wrote: > Em 16-04-2013 12:30, Laurent Pinchart escreveu: >> Hi Mauro, >> >> On Monday 15 April 2013 09:42:48 Mauro Carvalho Chehab wrote: >>> Em Mon, 15 Apr 2013 12:19:23 +0200 Laurent Pinchart escreveu: On Sunday 14 April 2013 16:5

cron job: media_tree daily build: ERRORS

2013-04-16 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 Apr 16 19:00:18 CEST 2013 git branch: test git hash: 4c41dab4d69fb887884dc571fd70e4ddc41774fb gcc versi

Re: [GIT PULL FOR v3.10] Camera sensors patches

2013-04-16 Thread Mauro Carvalho Chehab
Em 16-04-2013 12:30, Laurent Pinchart escreveu: Hi Mauro, On Monday 15 April 2013 09:42:48 Mauro Carvalho Chehab wrote: Em Mon, 15 Apr 2013 12:19:23 +0200 Laurent Pinchart escreveu: On Sunday 14 April 2013 16:59:58 Mauro Carvalho Chehab wrote: Em Fri, 12 Apr 2013 11:13:06 +0200 Laurent Pincha

Re: [RFC v2013-04-11] SDR API REQUIREMENT SPECIFICATION

2013-04-16 Thread Mauro Carvalho Chehab
Em 16-04-2013 11:36, Antti Palosaari escreveu: On 04/16/2013 11:09 AM, Mauro Carvalho Chehab wrote: Hi Antti, See my comments below. As I already commented, IMO, we should add SDR as an extension to V4L2 API. We have enough headaches by having two different APIs that already overlaps on some pl

[PATCH -next] staging/media: fix go7007 dependencies and build

2013-04-16 Thread Randy Dunlap
lap --- drivers/staging/media/go7007/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20130416.orig/drivers/staging/media/go7007/Kconfig +++ linux-next-20130416/drivers/staging/media/go7007/Kconfig @@ -1,7 +1,7 @@ config VIDEO_GO7007 tristate &

Re: [GIT PULL FOR v3.10] Camera sensors patches

2013-04-16 Thread Laurent Pinchart
Hi Mauro, On Monday 15 April 2013 09:42:48 Mauro Carvalho Chehab wrote: > Em Mon, 15 Apr 2013 12:19:23 +0200 Laurent Pinchart escreveu: > > On Sunday 14 April 2013 16:59:58 Mauro Carvalho Chehab wrote: > > > Em Fri, 12 Apr 2013 11:13:06 +0200 Laurent Pinchart escreveu: > > > > Hi Mauro, > > > > >

Re: [RFC v2013-04-11] SDR API REQUIREMENT SPECIFICATION

2013-04-16 Thread Antti Palosaari
On 04/16/2013 11:09 AM, Mauro Carvalho Chehab wrote: Hi Antti, See my comments below. As I already commented, IMO, we should add SDR as an extension to V4L2 API. We have enough headaches by having two different APIs that already overlaps on some places, to add yet another one. So, I'll add a fe

[PATCH] [media] em28xx: Put remaining .vidioc_g_chip_info instance under ADV_DEBUG

2013-04-16 Thread Michal Marek
Commit cd634f1 ("[media] v4l2: put VIDIOC_DBG_G_CHIP_NAME under ADV_DEBUG") missed the initializer of radio_ioctl_ops: drivers/media/usb/em28xx/em28xx-video.c:1830:2: error: unknown field 'vidioc_g_chip_info' specified in initializer drivers/media/usb/em28xx/em28xx-video.c:1830:26: error: 'vidioc

Re: [PATCH] media: davinci: vpbe: align the buffers size to page page size boundary

2013-04-16 Thread Sergei Shtylyov
On 16-04-2013 15:10, Prabhakar lad wrote: From: Lad, Prabhakar with recent commit with id 068a0df76023926af958a336a78bef60468d2033 Please also specify the summary line of that commit in parens (or however you like). which adds add length check for mmap, the application were failing t

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-16 Thread Sergei Shtylyov
Hello. On 16-04-2013 14:54, Prabhakar lad wrote: From: Lad, Prabhakar with recent commit with id 068a0df76023926af958a336a78bef60468d2033 Please also specify the summary line of that commit in parens (or however you like). which adds add length check for mmap, the application were f

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-16 Thread Laurent Pinchart
Hi Prabhakar, (CC'ing Marek) On Tuesday 16 April 2013 16:24:30 Prabhakar lad wrote: > From: Lad, Prabhakar > > with recent commit with id 068a0df76023926af958a336a78bef60468d2033 > which adds add length check for mmap, the application were failing to > mmap the buffers. > > This patch aligns t

[PATCH] media: davinci: vpbe: align the buffers size to page page size boundary

2013-04-16 Thread Prabhakar lad
From: Lad, Prabhakar with recent commit with id 068a0df76023926af958a336a78bef60468d2033 which adds add length check for mmap, the application were failing to mmap the buffers. This patch aligns the the buffer size to page size boundary for both capture and display driver so the it pass the chec

Re: [PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-16 Thread Prabhakar Lad
Hi Hans, On Tue, Apr 16, 2013 at 4:24 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > with recent commit with id 068a0df76023926af958a336a78bef60468d2033 > which adds add length check for mmap, the application were failing to > mmap the buffers. > > This patch aligns the the buffer size to p

[PATCH v2] media: davinci: vpif: align the buffers size to page page size boundary

2013-04-16 Thread Prabhakar lad
From: Lad, Prabhakar with recent commit with id 068a0df76023926af958a336a78bef60468d2033 which adds add length check for mmap, the application were failing to mmap the buffers. This patch aligns the the buffer size to page size boundary for both capture and display driver so the it pass the chec

[PATCH] media: davinci: vpif: allign the buffers size to page page size boundary

2013-04-16 Thread Prabhakar lad
From: Lad, Prabhakar with recent commit with id 068a0df76023926af958a336a78bef60468d2033 which adds add length check for mmap, the application were failing to mmap the buffers. This patch aligns the the buffer size to page size boundary for both capture and display driver so the it pass the chec

Re: [PATCH RFC] [media] blackfin: add video display driver

2013-04-16 Thread Scott Jiang
Hi Hans, >> +/* >> + * Analog Devices video display driver >> + * >> + * Copyright (c) 2011 Analog Devices Inc. > > Analog Devices? What has this to do with Analog Devices? > I wrote this driver for Analog Devices Blackfin. >> + >> +static int disp_mmap(struct file *file, struct vm_area_struct *

Re: [PATCH] media: vb2: add length check for mmap

2013-04-16 Thread Laurent Pinchart
On Friday 12 April 2013 08:03:15 Marek Szyprowski wrote: > On 4/12/2013 5:57 AM, Seung-Woo Kim wrote: > > The length of mmap() can be bigger than length of vb2 buffer, so > > it should be checked. > > > > Signed-off-by: Seung-Woo Kim > > Acked-by: Marek Szyprowski This should be pushed to the

Re: Patch mceusb.c -- Kernel 3.9-rc6

2013-04-16 Thread Sean Young
Hi William, On Mon, Apr 15, 2013 at 04:17:11PM -0500, William Steidtmann wrote: > Fix mceusb_cmdsize() which returns incorrect datasize=0 for sub-commands > MCE_RSP_GETPORTSTATUS, MCE_RSP_GETWAKESOURCE, MCE_RSP_EQDEVDETAILS, > MCE_RSP_EQEMVER, and MCE_RSP_EQIRNUMPORTS. Change mceusb_cmdsize() n

Re: [PATCH -next] media:

2013-04-16 Thread Mauro Carvalho Chehab
Em Mon, 15 Apr 2013 20:10:49 -0700 (PDT) David Rientjes escreveu: > On Tue, 9 Apr 2013, Antti Palosaari wrote: > > > On 04/08/2013 08:47 PM, Randy Dunlap wrote: > > > From: Randy Dunlap > > > > > > Fix randconfig error when USB is not enabled: > > > > > > ERROR: "usb_control_msg" [drivers/med

Re: [RFC v2013-04-11] SDR API REQUIREMENT SPECIFICATION

2013-04-16 Thread Mauro Carvalho Chehab
Hi Antti, See my comments below. As I already commented, IMO, we should add SDR as an extension to V4L2 API. We have enough headaches by having two different APIs that already overlaps on some places, to add yet another one. So, I'll add a few comments below with regards to that. Em Thu, 11 Apr