[PATCH] media: fix au0828 dvb suspend/resume to call dvb_frontend_suspend/resume

2014-08-11 Thread Shuah Khan
au0828 doesn't resume correctly and TV tuning fails with xc_set_signal_source(0) failed message. Change au0828 dvb suspend and resume interfaces to suspend and resume frontend during suspend and resume respectively. au0828_dvb_suspend() calls dvb_frontend_suspend() which in turn invokes tuner ops s

cron job: media_tree daily build: WARNINGS

2014-08-11 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 Aug 12 04:00:22 CEST 2014 git branch: test git hash: 0f3bf3dc1ca394a8385079a5653088672b65c5c4 gcc versi

[PATCH] usbtv: add audio support

2014-08-11 Thread Federico Simoncelli
From: Federico Simoncelli Signed-off-by: Federico Simoncelli Tested-by: Lubomir Rintel --- drivers/media/usb/usbtv/Makefile | 3 +- drivers/media/usb/usbtv/usbtv-audio.c | 384 ++ drivers/media/usb/usbtv/usbtv-core.c | 16 +- drivers/media/usb/usbtv/usb

[PATCH] [media] siano: add support for PCTV 77e

2014-08-11 Thread Mauro Carvalho Chehab
Add support for PCTV miroStick (77e) device tha tuses a sms1140 chipset. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/common/siano/sms-cards.c | 6 ++ drivers/media/common/siano/sms-cards.h | 1 + drivers/media/usb/siano/smsusb.c | 2 ++ 3 files changed, 9 insertions(+) diff

[PATCH 6/6] cx23855: add support for DVBSky T9580 DVB-C/T2/S2 tuner

2014-08-11 Thread Olli Salonen
DVBSky T9580 is a dual tuner card with one DVB-T2/C tuner and one DVB-S2 tuner. It contains the following components: - PCIe bridge: Conexant CX23885 - Demod for terrestrial/cable: Silicon Labs Si2168-A30 - Tuner for terrestrial/cable: Silicon Labs Si2158-A20 - Demod for sat: Montage DS3103 - Tun

[PATCH 1/6] si2168: add ts_mode setting and move to si2168_init

2014-08-11 Thread Olli Salonen
Luis Alves submitted a TS mode patch to si2168 earlier, but the patch was rejected due to a small issue. Here is a working version. Also, setting of TS mode is moved from si2168_set_frontend to si2168_init. This patch adds the TS mode as a config option for the si2168 demod: - ts_mode added to c

[PATCH 3/6] cxusb: add ts mode setting for TechnoTrend CT2-4400

2014-08-11 Thread Olli Salonen
TS mode must be set in the existing TechnoTrend CT2-4400 driver. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb/cxusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index 16bc579..87842e9 100644 --- a/driver

[PATCH 4/6] cx23885: add i2c client handling into dvb_unregister and state

2014-08-11 Thread Olli Salonen
Prepare cx23885 driver for handling I2C client that is needed for certain demodulators and tuners (for example Si2168 and Si2157). I2C client for tuner and demod stored in state and unregistering of the I2C devices added into dvb_unregister. Signed-off-by: Olli Salonen --- drivers/media/pci/c

[PATCH 2/6] em28xx: add ts mode setting for PCTV 461e

2014-08-11 Thread Olli Salonen
TS mode must be set in the existing PCTV 461e driver. Signed-off-by: Olli Salonen --- drivers/media/usb/em28xx/em28xx-dvb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index d8e9760..0645793 100644 --- a/drive

[PATCH 5/6] cx23855: add frontend set voltage function into state

2014-08-11 Thread Olli Salonen
Setting the LNB voltage requires setting some GPIOs on the cx23885 with some boards before calling the actual set_voltage function in the demod driver. Add a function pointer into state for that case. Signed-off-by: Olli Salonen --- drivers/media/pci/cx23885/cx23885.h | 2 ++ 1 file changed, 2

RC Support on TT-S2400 devices (ttusb2)

2014-08-11 Thread Ernst Bachmann
Hi, I'm using a Technotrend S2400 USB DVB-S Receiver (driver is ttusb2). That device includes a IR Remote Control. I was wondering if there was a specific reason why the RC receiver is not supported by the ttusb2 driver? The protocol seems to be identical to the one used by the CT-3650 Device (i

[PATCH] Fixed reference counting int saa716x drivers

2014-08-11 Thread Matthias Waechter
Without this patch applied, saa716x_core takes all reference counts and leaves the specific modules like saa716x_budget without a use tick. This leads to the situation that while the application is running, saa716x_budget still has a reference count of zero and can be unloaded, which freezes the

Re: [PATCH/RFC v4 00/21] LED / flash API integration

2014-08-11 Thread Jacek Anaszewski
Hi Bryan, On 08/08/2014 06:59 PM, Bryan Wu wrote: On Thu, Aug 7, 2014 at 11:43 PM, Jacek Anaszewski wrote: Hi Bryan, On 07/16/2014 07:21 PM, Bryan Wu wrote: On Wed, Jul 16, 2014 at 10:19 AM, Bryan Wu wrote: On Fri, Jul 11, 2014 at 7:04 AM, Jacek Anaszewski wrote: This is is the fourt

Re: [PATCH/RFC v4 15/21] media: Add registration helpers for V4L2 flash

2014-08-11 Thread Jacek Anaszewski
On 08/11/2014 02:26 PM, Sakari Ailus wrote: Hi Jacek, ... +static int v4l2_flash_s_ctrl(struct v4l2_ctrl *c) +{ +struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); +struct led_classdev_flash *flash = v4l2_flash->flash; +struct v4l2_flash_ctrl *ctrl = &v4l2_flash->ctrl;

[GIT PULL FIXES FOR 3.17] smiapp: Fix power down for multiple users

2014-08-11 Thread Sakari Ailus
Hi Mauro, The smiapp driver failed to properly count its users that needed to access it, and it ended up powering off the sensor whenever a user went away, leading to multiple power down sequences being executed if the device had more than one user. Please pull. The following changes since commi

Re: [PATCH/RFC v4 15/21] media: Add registration helpers for V4L2 flash

2014-08-11 Thread Jacek Anaszewski
Hi Sakari On 08/11/2014 02:26 PM, Sakari Ailus wrote: Hi Jacek, On Mon, Aug 04, 2014 at 04:43:54PM +0200, Jacek Anaszewski wrote: Hi Sakari, Thanks for the review. You're welcome! :) On 07/21/2014 01:12 PM, Sakari Ailus wrote: Hi Jacek, Jacek Anaszewski wrote: This patch adds helper f

Re: [PATCH 1/4] [media] ov7670: Include media/v4l2-image-sizes.h

2014-08-11 Thread Jonathan Corbet
On Sat, 09 Aug 2014 13:58:40 +0800 Axel Lin wrote: > So we can remove the same defines in the driver code. I always wanted a file like that (but, obviously, was too lazy to actually create it). Acked-by: Jonathan Corbet Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe

[GIT PULL FOR 3.18] Test pattern controls

2014-08-11 Thread Sakari Ailus
Hi Mauro, This set adds V4L2 test pattern controls and support for those in the smiapp driver. This pull request is on top of the unlocked controls patches, the pull request of which can be found here: http://www.spinics.net/lists/linux-media/msg79196.html> Please pull. The following changes s

Re: [PATCH/RFC v4 15/21] media: Add registration helpers for V4L2 flash

2014-08-11 Thread Sakari Ailus
Hi Jacek, On Mon, Aug 04, 2014 at 04:43:54PM +0200, Jacek Anaszewski wrote: > Hi Sakari, > > Thanks for the review. You're welcome! :) > On 07/21/2014 01:12 PM, Sakari Ailus wrote: > >Hi Jacek, > > > >Jacek Anaszewski wrote: > >>This patch adds helper functions for registering/unregistering >

Re: [PATCH 2/2] media: adv7604: Add ability to read default input port from DT

2014-08-11 Thread Mark Rutland
On Mon, Aug 11, 2014 at 01:05:19PM +0100, Ian Molton wrote: > This patch adds support to the adv7604 driver for reading the default > selected input from the Device tree. If none is provided, the driver will not > select an input without help from userspace. > > Tested-by: William Towle > Signed-

Re: [PATCH 3/4] media: rcar_vin: Fix race condition terminating stream

2014-08-11 Thread Hans Verkuil
On 08/11/2014 01:23 PM, Ian Molton wrote: > On Mon, 04 Aug 2014 23:27:24 +0200 > Hans Verkuil wrote: > >>> +/* >>> + * Wait for capture to stop and all in-flight buffers to be finished with >>> by >>> + * the video hardware. This must be called under &priv->lock >>> + * >>> + */ >>> +static void

[PATCH 0/1 v1] adv7604: Add adv7612 support

2014-08-11 Thread Ian Molton
This small patch series adds initial support for the adv7612 dual HDMI input decoder chip and adds a device-tree option allowing the default input to be selected. Please review / apply, -Ian -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to maj

[PATCH 2/2] media: adv7604: Add ability to read default input port from DT

2014-08-11 Thread Ian Molton
This patch adds support to the adv7604 driver for reading the default selected input from the Device tree. If none is provided, the driver will not select an input without help from userspace. Tested-by: William Towle Signed-off-by: Ian Molton --- Documentation/devicetree/bindings/media/i2c/adv

[PATCH 1/2] media: adv7604: Add support for ADV7612 dual HDMI input decoder.

2014-08-11 Thread Ian Molton
This patch adds necessary support for the ADV7612 dual HDMI decoder / repeater chip. This was tested using a heavily modified rcar_vin/soc_camera capture driver. Tested-by: William Towle Signed-off-by: Ian Molton --- .../devicetree/bindings/media/i2c/adv7604.txt | 17 +++ drivers/medi

Re: [PATCH 3/4] media: rcar_vin: Fix race condition terminating stream

2014-08-11 Thread Ian Molton
On Mon, 04 Aug 2014 23:27:24 +0200 Hans Verkuil wrote: > > +/* > > + * Wait for capture to stop and all in-flight buffers to be finished with > > by > > + * the video hardware. This must be called under &priv->lock > > + * > > + */ > > +static void rcar_vin_wait_stop_streaming(struct rcar_vin_pr

Re: [PATCH 3/4 v4] support for DVBSky dvb-s2 usb: add dvb-usb-v2 driver for DVBSky dvb-s2 box, no ci support.

2014-08-11 Thread Antti Palosaari
Looks OK Reviewed-by: Antti Palosaari regards Antti On 08/11/2014 07:45 AM, nibble.max wrote: remove ci support part in v1 patch. hook demod read status and set voltage operations. add m88ts2022 select in Kconfig. move usb buffer into state for usb ctrl. make checkpatch.pl happy. Signed-off-

Re: [PATCH 1/4 v3] support for DVBSky dvb-s2 usb: Add ts clock and clock polarity, lnb set voltage and lnb ctrl pin for m88ds3103

2014-08-11 Thread Antti Palosaari
It is OK. Acked-by: Antti Palosaari Reviewed-by: Antti Palosaari Antti On 08/11/2014 07:22 AM, nibble.max wrote: Add ts clock and clock polarity, lnb set voltage and lnb control pin. Signed-off-by: Nibble Max --- drivers/media/dvb-frontends/m88ds3103.c | 72 --