cron job: media_tree daily build: WARNINGS

2015-09-01 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: Wed Sep 2 04:00:23 CEST 2015 git branch: test git hash: d071c833a0d30e7aae0ea565d92ef83c79106d6f gcc versi

[PATCH 1/2] vivid: SDR cap: add control for FM deviation

2015-09-01 Thread Antti Palosaari
Add user control to adjust generated FM deviation. Default it to 75kHz like public FM radio broadcast. Signed-off-by: Antti Palosaari --- drivers/media/platform/vivid/vivid-core.h| 1 + drivers/media/platform/vivid/vivid-ctrls.c | 37 +++- drivers/media/platform/vi

[PATCH 2/2] vivid: sdr cap: few enhancements

2015-09-01 Thread Antti Palosaari
* Constify struct * Fix comments * Fix alignment * Use modulus to transfer phase angles * Correct float [-1.0, +1.0] to s8 [-128, 127] conversion Signed-off-by: Antti Palosaari --- drivers/media/platform/vivid/vivid-sdr-cap.c | 31 +++- 1 file changed, 12 insertions(+

[PATCH v2] rcar_vin: propagate querystd() error upstream

2015-09-01 Thread Sergei Shtylyov
rcar_vin_set_fmt() defaults to PAL when the subdevice's querystd() method call fails (e.g. due to I2C error). This doesn't work very well when a camera being used outputs NTSC which has different order of fields and resolution. Let us stop pretending and return the actual error except when t

[PATCH 01/13] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR

2015-09-01 Thread Antti Palosaari
SDR receiver has ADC (Analog-to-Digital Converter) and SDR transmitter has DAC (Digital-to-Analog Converter). Originally I though it could be good idea to have own type for receiver and transmitter, but now I feel one common type for SDR is enough. So lets rename it. Signed-off-by: Antti Palosaari

[PATCH 12/13] DocBook: add SDR specific info to G_TUNER / S_TUNER

2015-09-01 Thread Antti Palosaari
Add SDR specific notes to G_TUNER / S_TUNER documentation. Add V4L2_TUNER_SDR and V4L2_TUNER_RF to supported tuner types to table. Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/vidioc-g-tuner.xml | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Docume

[PATCH 05/13] DocBook: document SDR transmitter

2015-09-01 Thread Antti Palosaari
Add documentation for V4L SDR transmitter (output) devices. Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil --- Documentation/DocBook/media/v4l/compat.xml | 4 +++ Documentation/DocBook/media/v4l/dev-sdr.xml| 30 +++--- Documentation/DocBook/media/v4l/io.x

[PATCH 08/13] hackrf: add control for RF amplifier

2015-09-01 Thread Antti Palosaari
There is Avago MGA-81563 amplifier just right after antenna connector. It could be turned on/off and its gain is around 12dB. Acked-by: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/usb/hackrf/hackrf.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion

[PATCH 11/13] hackrf: do not set human readable name for formats

2015-09-01 Thread Antti Palosaari
Format names are set by core nowadays. Remove name from driver. Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil --- drivers/media/usb/hackrf/hackrf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c index b6415b9.

[PATCH 07/13] DocBook: add modulator type field

2015-09-01 Thread Antti Palosaari
Add new modulator type field to documentation. Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.xml b/Documentation/DocBook/medi

[PATCH 09/13] hackrf: switch to single function which configures everything

2015-09-01 Thread Antti Palosaari
Implement single funtion, hackrf_set_params(), which handles all needed settings. Controls and other IOCTLs are just wrappers to that function. That way we can get easily better control what we could do on different device states - sleeping, receiving, transmitting. Acked-by: Hans Verkuil Signed-

[PATCH 06/13] v4l: add type field to v4l2_modulator struct

2015-09-01 Thread Antti Palosaari
Add type field to that struct like it counterpart v4l2_tuner already has. We need type field to distinguish different tuner types from each others for transmitter too. Acked-by: Hans Verkuil Signed-off-by: Antti Palosaari --- drivers/media/v4l2-core/v4l2-ioctl.c | 18 +- include

[PATCH 10/13] hackrf: add support for transmitter

2015-09-01 Thread Antti Palosaari
HackRF SDR device has both receiver and transmitter. There is limitation that receiver and transmitter cannot be used at the same time (half-duplex operation). That patch implements transmitter support to existing receiver only driver. Signed-off-by: Antti Palosaari --- drivers/media/usb/hackrf/

[PATCH 04/13] v4l2: add support for SDR transmitter

2015-09-01 Thread Antti Palosaari
New IOCTL ops: vidioc_enum_fmt_sdr_out vidioc_g_fmt_sdr_out vidioc_s_fmt_sdr_out vidioc_try_fmt_sdr_out New vb2 buffertype: V4L2_BUF_TYPE_SDR_OUTPUT New v4l2 capability: V4L2_CAP_SDR_OUTPUT Signed-off-by: Antti Palosaari Acked-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-dev.c | 14

[PATCH 13/13] DocBook: add SDR specific info to G_MODULATOR / S_MODULATOR

2015-09-01 Thread Antti Palosaari
Add SDR specific notes to G_MODULATOR / S_MODULATOR documentation. Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.xml b/Documentation/DocBoo

[PATCH 03/13] DocBook: document tuner RF gain control

2015-09-01 Thread Antti Palosaari
Add brief description for tuner RF gain control. Acked-by: Hans Verkuil Signed-off-by: Antti Palosaari --- Documentation/DocBook/media/v4l/compat.xml | 4 Documentation/DocBook/media/v4l/controls.xml | 14 ++ Documentation/DocBook/media/v4l/v4l2.xml | 1 + 3 files chang

[PATCH 02/13] v4l2: add RF gain control

2015-09-01 Thread Antti Palosaari
Add new RF tuner gain control named RF Gain. That is aimed for first amplifier chip right after antenna connector. There is existing LNA Gain control, which is quite same, but it is aimed for cases amplifier is integrated to tuner chip. Some designs have both, as almost all recent tuner silicons ha

[PATCHv4 00/13] SDR transmitter API

2015-09-01 Thread Antti Palosaari
v4: * new "DocBook: add SDR specific info to G_MODULATOR / S_MODULATOR" * changed "DocBook: add modulator type field" * changed "hackrf: add support for transmitter" * dropped "DocBook: fix S_FREQUENCY => G_FREQUENCY" * changed "DocBook: add tuner types SDR and RF for G_TUNER / S_TUNER" => "DocBoo

em28xx: new board id [1f4d:1abe]

2015-09-01 Thread Ronald Tallent
Hi, I've tested my USB easycap device (Geniatech iGrabber) in Ubuntu 14.04. Make: Geniatech Model: iGrabber for MAC Vendor/Product ID: [1f4d:1abe] Product website: www.geniatech.com/pa/igrabber.asp Tests Made: - Audio Capture [worked] - Video Capture [device not detected] - DVB [does not have D

Re: [alsa-devel] Linux 4.2 ALSA snd-usb-audio inconsistent lock state warn in PCM nonatomic mode

2015-09-01 Thread Clemens Ladisch
Shuah Khan wrote:> On 09/01/2015 02:42 AM, Clemens Ladisch wrote: >> Shuah Khan wrote: >>> +++ b/sound/usb/stream.c >>> pcm->private_data = as; >>> pcm->private_free = snd_usb_audio_pcm_free; >>> pcm->info_flags = 0; >>> + pcm->nonatomic = true; >> >> Why do you think you need nonatomic mode in the

Re: [alsa-devel] Linux 4.2 ALSA snd-usb-audio inconsistent lock state warn in PCM nonatomic mode

2015-09-01 Thread Shuah Khan
On 09/01/2015 02:42 AM, Clemens Ladisch wrote: > Shuah Khan wrote: >> +++ b/sound/usb/stream.c >> pcm->private_data = as; >> pcm->private_free = snd_usb_audio_pcm_free; >> pcm->info_flags = 0; >> + pcm->nonatomic = true; > > Why do you think you need nonatomic mode in the USB audio driver? > Sho

randconfig build error with next-20150901, in drivers/media/pci/netup_unidvb/netup_unidvb_core.c

2015-09-01 Thread Jim Davis
Building with the attached random configuration file, warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) selects SND_SST_IPC_ACPI which has unmet direct dependencies (SOUND && !M68K && !UML

Re: [media-workshop] [ANNOUNCE] Media Workshop at the Kernel Summit 2015 in Korea

2015-09-01 Thread Shuah Khan
On Tue, Sep 1, 2015 at 6:47 AM, Laurent Pinchart wrote: > Hi Mauro, > > Thank you for organizing this. > > On Tuesday 01 September 2015 09:29:17 Mauro Carvalho Chehab wrote: >> Hi, >> >> As we keep being very active on the development of the Linux Kernel Media >> subsystem, we'll be doing another

RE: [RFC PATCH] media: uvcvideo: handle urb completion in a work queue

2015-09-01 Thread Kaukab, Yousaf
Hi Laurent, > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Tuesday, September 1, 2015 2:45 PM > To: Kaukab, Yousaf > Cc: linux-media@vger.kernel.org; mche...@osg.samsung.com > Subject: Re: [RFC PATCH] media: uvcvideo: handle urb completion

Re: [media-workshop] [ANNOUNCE] Media Workshop at the Kernel Summit 2015 in Korea

2015-09-01 Thread Laurent Pinchart
Hi Mauro, Thank you for organizing this. On Tuesday 01 September 2015 09:29:17 Mauro Carvalho Chehab wrote: > Hi, > > As we keep being very active on the development of the Linux Kernel Media > subsystem, we'll be doing another workshop this year. > > This will be the first time we'll be doing

Re: [RFC PATCH] media: uvcvideo: handle urb completion in a work queue

2015-09-01 Thread Laurent Pinchart
Hello Mian Yousaf, Thank you for the patch. On Tuesday 01 September 2015 11:45:11 Mian Yousaf Kaukab wrote: > urb completion callback is executed in host controllers interrupt > context. To keep preempt disable time short, add an ordered work- > queue. Associate a work_struct with each urb and qu

Re: [ANNOUNCE] Media Workshop at the Kernel Summit 2015 in Korea

2015-09-01 Thread Mauro Carvalho Chehab
Em Tue, 1 Sep 2015 09:29:17 -0300 Mauro Carvalho Chehab escreveu: > Hi, > > As we keep being very active on the development of the Linux Kernel Media > subsystem, we'll be doing another workshop this year. In time: The annual Kernel Summit for 2015 will be held October 26th through the 28th i

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Javier Martinez Canillas
[adding GPIO maintainers to cc list] Hello Rob, On Tue, Sep 1, 2015 at 1:54 PM, Rob Herring wrote: > On Tue, Sep 1, 2015 at 3:32 AM, Javier Martinez Canillas > wrote: >> Hello Peter, >> >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin >> wrote: >>> gpio.txt documents that GPIO properties sho

[ANNOUNCE] Media Workshop at the Kernel Summit 2015 in Korea

2015-09-01 Thread Mauro Carvalho Chehab
Hi, As we keep being very active on the development of the Linux Kernel Media subsystem, we'll be doing another workshop this year. This will be the first time we'll be doing it in Asia, so it is a great opportunity for the ones that are there to join us and participate, in order to improve the L

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Peter Griffin wrote: > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > > On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones wrote: > > > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > > >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin > > >> wrote: > > >> > gpio.txt

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Rob Herring
On Tue, Sep 1, 2015 at 3:32 AM, Javier Martinez Canillas wrote: > Hello Peter, > > On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin > wrote: >> gpio.txt documents that GPIO properties should be named >> "[-]gpios", with being the purpose of this >> GPIO for the device. >> >> This change has been

[PATCH v4 2/6] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-09-01 Thread Peter Griffin
This patch adds in the required DT node for the c8sectpfe Linux DVB demux driver which allows the tsin channels to be used on an upstream kernel. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 35 +++ 1 file changed, 3

[PATCH v4 0/6] [media] c8sectpfe: Various fixups

2015-09-01 Thread Peter Griffin
Hi Mauro, This series includes a couple of fixes for the c8sectpfe Linux dvb driver. One was caused by omitting a patch from the original c8sectpfe series which defined the ssc2 and ssc3 dt nodes, which was then used by the later DT patch. This patch is included, along with the original patch whi

[PATCH v4 4/6] [media] c8sectpfe: Update binding to reset-gpio

2015-09-01 Thread Peter Griffin
reset-gpio is more clear than rst-gpio. This change has been done as one atomic commit but it does breaks compatability with older dtbs. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt | 6 +++--- arch/arm/boot/dts/stihxxx-b212

[PATCH v4 5/6] [media] c8sectpfe: Update DT binding doc with some minor fixes

2015-09-01 Thread Peter Griffin
Signed-off-by: Peter Griffin Acked-by: Lee Jones --- .../devicetree/bindings/media/stih407-c8sectpfe.txt| 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt b/Documentation/devicetree/bindings/me

[PATCH v4 3/6] [media] c8sectpfe: Remove select on undefined LIBELF_32

2015-09-01 Thread Peter Griffin
LIBELF_32 is not defined in Kconfig, and is left over legacy which is not required in the upstream driver, so remove it. Suggested-by: Valentin Rothberg Signed-off-by: Peter Griffin Acked-by: Lee Jones --- drivers/media/platform/sti/c8sectpfe/Kconfig | 1 - 1 file changed, 1 deletion(-) diff

[PATCH v4 1/6] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3

2015-09-01 Thread Peter Griffin
Adding these properties makes the I2C bus to the demodulators much more reliable, and we no longer suffer from I2C errors when tuning. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[PATCH v4 6/6] [media] c8sectpfe: Simplify for loop in load_slim_core_fw

2015-09-01 Thread Peter Griffin
Signed-off-by: Peter Griffin --- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c index e19c6b4..782174a 1

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Peter Griffin
Hi Javier, On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones wrote: > > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin > >> wrote: > >> > gpio.txt documents that GPIO prope

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Peter Griffin
Hi Rob, On Mon, 31 Aug 2015, Rob Herring wrote: > On Fri, Aug 28, 2015 at 12:52 PM, Peter Griffin > wrote: > > gpio.txt documents that GPIO properties should be named > > "[-]gpios", with being the purpose of this > > GPIO for the device. > > > > This change has been done as one atomic commit.

[RFC PATCH] media: uvcvideo: handle urb completion in a work queue

2015-09-01 Thread Mian Yousaf Kaukab
urb completion callback is executed in host controllers interrupt context. To keep preempt disable time short, add an ordered work- queue. Associate a work_struct with each urb and queue work using it on urb completion. In uvc_uninit_video, usb_kill_urb and usb_free_urb are separated in different

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones wrote: > > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin > >> wrote: > >> > gpio.txt documents that GPIO properties should

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Javier Martinez Canillas
Hello Lee, On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones wrote: > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin >> wrote: >> > gpio.txt documents that GPIO properties should be named >> > "[-]gpios", with being the purpose of this >> > GPIO

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin > wrote: > > gpio.txt documents that GPIO properties should be named > > "[-]gpios", with being the purpose of this > > GPIO for the device. > > > > This change has been done as one atomic commi

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Javier Martinez Canillas
Hello Peter, On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin wrote: > gpio.txt documents that GPIO properties should be named > "[-]gpios", with being the purpose of this > GPIO for the device. > > This change has been done as one atomic commit. > > Signed-off-by: Peter Griffin > Acked-by: Lee J

Re: [PATCH v3 2/6] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-09-01 Thread Lee Jones
On Fri, 28 Aug 2015, Peter Griffin wrote: > This patch adds in the required DT node for the c8sectpfe > Linux DVB demux driver which allows the tsin channels > to be used on an upstream kernel. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stihxxx-b2120.dtsi | 35 ++

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Lee Jones
On Mon, 31 Aug 2015, Rob Herring wrote: > On Fri, Aug 28, 2015 at 12:52 PM, Peter Griffin > wrote: > > gpio.txt documents that GPIO properties should be named > > "[-]gpios", with being the purpose of this > > GPIO for the device. > > > > This change has been done as one atomic commit. > > dtb