Re: [PATCH v5 1/4] media: pxa_camera: fix the buffer free path

2015-10-29 Thread Guennadi Liakhovetski
Hi Robert, On Tue, 27 Oct 2015, Robert Jarzmik wrote: > Guennadi Liakhovetski writes: > > > Hi Robert, > > > > Didn't you tell me, that your dmaengine patch got rejected and therefore > > these your patches were on hold? > They were reverted, and then revamped into

Re: [PATCH v2 5/6] media/usb/pvrusb2: Support for V4L2_CTRL_WHICH_DEF_VAL

2015-10-29 Thread Mike Isely
Looks good to me (still), including now the change I had previously suggested. For the record, the ack still applies. (I guess you can consider this to be an ack of the ack...) -Mike On Thu, 29 Oct 2015, Ricardo Ribalda Delgado wrote: > This driver does not use the control

[RFC] Documentation: dontdiff: remove media from dontdiff

2015-10-29 Thread Wang YanQing
media will hide all the changes in drivers/media. Signed-off-by: Wang YanQing --- I don't know whether it is still acceptable to patch dontdiff, so I add Linus to CC list. Documentation/dontdiff | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/dontdiff

[PATCH] media: rc: ir-sharp-decoder: add support for Denon variant of the protocol

2015-10-29 Thread Heiner Kallweit
Denon also uses the Sharp protocol, however with different check bits. It would have been also possible to add this as a separate protocol but this may not be worth the effort. Successfully tested with a Denon RC-1002 remote control. Signed-off-by: Heiner Kallweit ---

[PATCH 4/9] media: rc: nuvoton-cir: improve chip detection

2015-10-29 Thread Heiner Kallweit
Make the chip detection code more similar to the one used for the same chips in watchdog/w83627hf_wdt.c and hwmon/w83627ehf.c. Apart from better maintainability we gain - unified naming of chips (e.g. 677C -> NCT6776F) - driver works with all revisions of the chips (least 4 bits of id are

[PATCH 5/9] media: rc: nuvoton-cir: make nvt_hw_detect void

2015-10-29 Thread Heiner Kallweit
nvt_hw_detect always returns 0, therefore make it return void. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c

[PATCH 6/9] media: rc: nuvoton-cir: add support for the NCT6779D

2015-10-29 Thread Heiner Kallweit
Add support for the NCT6779D. It's found e.g. on the Zotac CI321 mini-pc and I successfully tested it on this device. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 1 + drivers/media/rc/nuvoton-cir.h | 3 ++- 2 files changed, 3 insertions(+), 1

[PATCH 8/9] media: rc: nuvoton-cir: replace nvt_pr with dev_ functions

2015-10-29 Thread Heiner Kallweit
Replace nvt_pr with the respective dev_ functions thus slightly simplifying the code. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 15 --- drivers/media/rc/nuvoton-cir.h | 3 --- 2 files changed, 8 insertions(+), 10 deletions(-) diff

[PATCH 7/9] media: rc: nuvoton-cir: simplify debug code

2015-10-29 Thread Heiner Kallweit
Instead of explicitely checking debug use nvt_dbg like in other parts of the driver thus simplifying the code. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 1/9] media: rc: nuvoton-cir: remove unneeded IRQ_RETVAL usage

2015-10-29 Thread Heiner Kallweit
Using IRQ_RETVAL is unneeded here. IRQ_NONE / IRQ_HANDLED can be returned directly. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c

[PATCH 3/9] media: rc: nuvoton-cir: switch resource handling to devm functions

2015-10-29 Thread Heiner Kallweit
Switch to managed resource handling using the devm_ functions. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 36 +++- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c

[PATCH 9/9] media: rc: nuvoton-cir: switch chip detection message to info level

2015-10-29 Thread Heiner Kallweit
Switch the info about the detected chip type from debug to info level as it might be useful not only for debugging purposes. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 2/9] media: rc: nuvoton-cir: remove unneeded lock

2015-10-29 Thread Heiner Kallweit
chip_major / chip_minor are accessed sequentially in probe only. Therefore no lock is needed. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c

[PATCH] media: rc-core: simplify logging in rc_register_device

2015-10-29 Thread Heiner Kallweit
Simplify the logging. I had some doubts about using the elvis operator as it's GNU extension. However GNU extensions are explicitely allowed and this operator is used at several places in the kernel code. Signed-off-by: Heiner Kallweit --- drivers/media/rc/rc-main.c | 6

[PATCH] [media] rc-core: Remove 'struct timeval' usage

2015-10-29 Thread Tina Ruchandani
streamzap uses 'struct timeval' to store the start time of a signal for gap tracking. struct timeval uses a 32-bit seconds representation which will overflow in year 2038 and beyond. Replace struct timeval with ktime_t which uses a 64-bit seconds representation and is 2038 safe. This patch uses

[PATCH v2 0/6] Support getting default values from any control

2015-10-29 Thread Ricardo Ribalda Delgado
Integer controls provide a way to get their default/initial value, but any other control (p_u32, p_u8.) provide no other way to get the initial value than unloading the module and loading it back. *What is the actual problem? I have a custom control with WIDTH integer values. Every value

[PATCH v2 1/6] videodev2.h: Extend struct v4l2_ext_controls

2015-10-29 Thread Ricardo Ribalda Delgado
So it can be used to get the default value of a control. Without this change it is not possible to get get the default value of array controls. Signed-off-by: Ricardo Ribalda Delgado --- include/uapi/linux/videodev2.h | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH v2 2/6] media/core: Replace ctrl_class with which

2015-10-29 Thread Ricardo Ribalda Delgado
Replace the obsolete field ctrl_class with "which". Make sure it not used in future modules by commenting out the field with ifndef __KERNEL_ . The field cannot be simply removed because that would be change on the kenel API to the userspace (and we don't like that). Signed-off-by: Ricardo

[PATCH v2 3/6] media/v4l2-core: struct struct v4l2_ext_controls param which

2015-10-29 Thread Ricardo Ribalda Delgado
Support for new field which on v4l2_ext_controls, used to get the default value of one or more controls. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/v4l2-ctrls.c | 34 +- 1 file changed, 29 insertions(+), 5

[PATCH v2 4/6] usb/uvc: Support for V4L2_CTRL_WHICH_DEF_VAL

2015-10-29 Thread Ricardo Ribalda Delgado
This driver does not use the control infrastructure. Add support for the new field which on structure v4l2_ext_controls Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/usb/uvc/uvc_v4l2.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH v2 6/6] Docbook: media: Document changes on struct v4l2_ext_controls

2015-10-29 Thread Ricardo Ribalda Delgado
Vidioc-g-ext-ctrls can now be used to get the default value of the controls. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/DocBook/media/v4l/v4l2.xml | 10 ++ .../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 22 ++

[PATCH v2 5/6] media/usb/pvrusb2: Support for V4L2_CTRL_WHICH_DEF_VAL

2015-10-29 Thread Ricardo Ribalda Delgado
This driver does not use the control infrastructure. Add support for the new field which on structure v4l2_ext_controls Acked-by: Mike Isely Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 16 ++-- 1

cron job: media_tree daily build: OK

2015-10-29 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: Fri Oct 30 04:00:17 CET 2015 git branch: test git hash: 79f5b6ae960d380c829fb67d5dadcd1d025d2775 gcc

Re: [PATCH v6 1/3] iommu: Implement common IOMMU ops for DMA mapping

2015-10-29 Thread Daniel Kurtz
+linux-media & VIDEOBUF2 FRAMEWORK maintainers since this is about the v4l2-contig's usage of the DMA API. Hi Robin, On Tue, Oct 27, 2015 at 12:55 AM, Robin Murphy wrote: > On 26/10/15 13:44, Yong Wu wrote: >> >> On Thu, 2015-10-01 at 20:13 +0100, Robin Murphy wrote: >>