[PATCH] drivers: staging: davinci_vpfe: use resource_size()

2013-03-17 Thread Silviu-Mihai Popescu
This uses the resource_size() function instead of explicit computation. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com --- drivers/staging/media/davinci_vpfe/dm365_ipipe.c |3 ++- drivers/staging/media/davinci_vpfe/dm365_isif.c|6 --

Re: [PATCH -next] [media] davinci: vpfe: fix return value check in vpfe_enable_clock()

2013-03-17 Thread Sakari Ailus
Hi Wei, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn

Re: [GIT PULL FOR 3.9] Samsung media driver fixes

2013-03-17 Thread Sylwester Nawrocki
On 03/08/2013 09:30 PM, Sylwester Nawrocki wrote: Hi Mauro, The following changes since commit 9f225788cc047fb7c2ef2326eb4f86dee890e2ef: Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2013-03-05 18:56:22 -0800) are available in the git repository at:

[GIT PULL FOR 3.9 v2] Samsung media driver fixes

2013-03-17 Thread Sylwester Nawrocki
Hi Mauro, The following changes since commit 9f225788cc047fb7c2ef2326eb4f86dee890e2ef: Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2013-03-05 18:56:22 -0800) are available in the git repository at: git://linuxtv.org/snawrocki/samsung.git

Re: [PATCH] drivers: staging: davinci_vpfe: use resource_size()

2013-03-17 Thread Prabhakar Lad
Hi, Thanks for the patch! On Sun, Mar 17, 2013 at 1:13 PM, Silviu-Mihai Popescu silviupopescu1...@gmail.com wrote: This uses the resource_size() function instead of explicit computation. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com ---

[PATCH] media: staging: davinci_vpfe: fix build error

2013-03-17 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com add missing header file delay.h required for msleep(). This patch fixes following build error: drivers/staging/media/davinci_vpfe/dm365_isif.c: In function 'isif_enable': drivers/staging/media/davinci_vpfe/dm365_isif.c:129: error: implicit

[REVIEW PATCH] v4l2-ctrls: add V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER control

2013-03-17 Thread Hans Verkuil
This new control determines whether video sequence headers in an MPEG elementary stream are repeated or not. Repeating them improves random access in the stream. Added this since the go7007 support this feature. I've checked the MPEG-1/2/4 standards and it is a valid feature for all three.

Re: [PATCH 1/2] media/rc/imon.c: make send_packet() delay configurable

2013-03-17 Thread Kevin Baradon
Le Thu, 14 Mar 2013 12:01:53 -0300, Mauro Carvalho Chehab mche...@redhat.com a écrit : Em Sun, 24 Feb 2013 21:19:29 +0100 Kevin Baradon kevin.bara...@gmail.com escreveu: Some imon devices (like 15c2:0036) need a higher delay between send_packet calls. Default value is still 5ms to

Re: [PATCH 2/2] media/rc/imon.c: avoid flooding syslog with unknown keypress when keypad is pressed

2013-03-17 Thread Kevin Baradon
Le Thu, 14 Mar 2013 12:18:41 -0300, Mauro Carvalho Chehab mche...@redhat.com a écrit : Em Sun, 24 Feb 2013 21:19:30 +0100 Kevin Baradon kevin.bara...@gmail.com escreveu: My 15c2:0036 device floods syslog when a keypad key is pressed: Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0:

Re: [PATCH] block i2c tuner reads for Avermedia Twinstar in the af9035 driver

2013-03-17 Thread Jose Alberto Reguero
On Martes, 12 de marzo de 2013 00:11:38 Antti Palosaari escribió: On 03/11/2013 10:02 PM, Jose Alberto Reguero wrote: On Lunes, 11 de marzo de 2013 14:57:37 Antti Palosaari escribió: On 03/11/2013 01:51 PM, Jose Alberto Reguero wrote: On Lunes, 11 de febrero de 2013 14:48:18 Jose Alberto

cron job: media_tree daily build: WARNINGS

2013-03-17 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: Sun Mar 17 19:00:18 CET 2013 git branch: test git hash: 4d35435d3ffb853b491f5bb21a62529cd925d660 gcc

Re: [RFC PATCH 1/8] s5p-fimc: Add Exynos4x12 FIMC-IS driver

2013-03-17 Thread Sylwester Nawrocki
Hi Hans, On 03/12/2013 03:27 PM, Hans Verkuil wrote: On Mon 11 March 2013 20:44:45 Sylwester Nawrocki wrote: [...] + +/* Supported manual ISO values */ +static const s64 iso_qmenu[] = { + 50, 100, 200, 400, 800, +}; + +static int __ctrl_set_iso(struct fimc_is *is, int value) +{ +

Re: [RFC V1 3/8] smi2021: Add smi2021_i2c.c

2013-03-17 Thread Jon Arne Jørgensen
On Fri, Mar 15, 2013 at 09:27:54AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:06:59PM +0100, Jon Arne Jørgensen wrote: This file is responsible for registering the device with the kernel i2c subsystem. v4l2 talks to the saa7113 chip of the device via i2c. Signed-off-by:

Re: [RFC V1 0/8] Add a driver for somagic smi2021

2013-03-17 Thread Jon Arne Jørgensen
On Fri, Mar 15, 2013 at 09:08:58AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:06:56PM +0100, Jon Arne Jørgensen wrote: This patch-set will add a driver for the Somagic SMI2021 chip. This chip is found inside different usb video-capture devices. Most of them are branded as

Re: [RFC V1 2/8] smi2021: Add smi2021_main.c

2013-03-17 Thread Jon Arne Jørgensen
On Fri, Mar 15, 2013 at 09:20:58AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:06:58PM +0100, Jon Arne Jørgensen wrote: This is the core of the smi2021 module. It will register the module with the kernel, and register the usb probe function. Signed-off-by: Jon Arne

Re: [RFC V1 1/8] smi2021: Add the header file

2013-03-17 Thread Jon Arne Jørgensen
On Fri, Mar 15, 2013 at 09:13:10AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:06:57PM +0100, Jon Arne Jørgensen wrote: This is the header file for the smi2021 module. Signed-off-by: Jon Arne Jørgensen jona...@jonarne.no --- drivers/media/usb/smi2021/smi2021.h | 228

Re: [RFC V1 5/8] smi2021: Add smi2021_video.c

2013-03-17 Thread Jon Arne Jørgensen
On Fri, Mar 15, 2013 at 09:40:35AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:07:01PM +0100, Jon Arne Jørgensen wrote: This file is responsible for all communication with the video hardware and also starting and stopping the capture. It also contains the setup and handling

Re: [RFC V1 4/8] smi2021: Add smi2021_v4l2.c

2013-03-17 Thread Jon Arne Jørgensen
On Fri, Mar 15, 2013 at 09:33:20AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:07:00PM +0100, Jon Arne Jørgensen wrote: This file is responsible for registering the device with the v4l2 subsystem, and the communication with v4l2. Most of the v4l2 ioctls are just passed on to

Re: [RFC PATCH 5/8] s5p-fimc: Add ISP video capture driver stubs

2013-03-17 Thread Sylwester Nawrocki
On 03/12/2013 03:44 PM, Hans Verkuil wrote: On Mon 11 March 2013 20:44:49 Sylwester Nawrocki wrote: [...] +static int isp_video_capture_open(struct file *file) +{ + struct fimc_isp *isp = video_drvdata(file); + int ret = 0; + + if (mutex_lock_interruptible(isp-video_lock)) +

Re: [PATCH] block i2c tuner reads for Avermedia Twinstar in the af9035 driver

2013-03-17 Thread Antti Palosaari
On 03/17/2013 08:49 PM, Jose Alberto Reguero wrote: On Martes, 12 de marzo de 2013 00:11:38 Antti Palosaari escribió: On 03/11/2013 10:02 PM, Jose Alberto Reguero wrote: On Lunes, 11 de marzo de 2013 14:57:37 Antti Palosaari escribió: On 03/11/2013 01:51 PM, Jose Alberto Reguero wrote: On

Re: [RFC V1 0/8] Add a driver for somagic smi2021

2013-03-17 Thread Ezequiel Garcia
Hi Jon, On Sun, Mar 17, 2013 at 09:01:58PM +0100, Jon Arne Jørgensen wrote: On Fri, Mar 15, 2013 at 09:08:58AM -0300, Ezequiel Garcia wrote: On Thu, Mar 14, 2013 at 03:06:56PM +0100, Jon Arne Jørgensen wrote: This patch-set will add a driver for the Somagic SMI2021 chip. This chip is

Re: [PATCH v2 6/8] drivers: mfd: use module_platform_driver_probe()

2013-03-17 Thread Jingoo Han
On Friday, March 15, 2013 2:10 AM, Fabio Porcedda wrote: This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org

Re: [PATCH v2 2/8] drivers: ata: use module_platform_driver_probe()

2013-03-17 Thread Jingoo Han
On Friday, March 15, 2013 2:10 AM, Fabio Porcedda wrote: This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org