Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-06 Thread Akihiro TSUKADA
Moi! Yes, using the I2C binding way provides a better decoupling than using the legacy way. The current dvb_attach() macros are hacks that were created by the time where the I2C standard bind didn't work with DVB. I understand. I converted my code to use i2c binding model, but I'm uncertain

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Akihiro TSUKADA
Moikka!, thanks for the comments and advices. I had been updating my code and during that, I also found that updating property cache in tuner_ops.get_signal_strength() was simple and (seemed to me) better than using a kthread, so the current implementation (under testing) is just like what Mauro

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-06 Thread Antti Palosaari
moikka! On 09/06/2014 09:09 AM, Akihiro TSUKADA wrote: Moi! Yes, using the I2C binding way provides a better decoupling than using the legacy way. The current dvb_attach() macros are hacks that were created by the time where the I2C standard bind didn't work with DVB. I understand. I

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-06 Thread Antti Palosaari
On 09/06/2014 09:09 AM, Akihiro TSUKADA wrote: 3. Should I also use RegMap API for register access? I tried using it but gave up, because it does not fit well to one of my use-case, where (only) reads must be done via 0xfb register, like READ(reg, buf, len) - [addr/w, 0xfb, reg], [addr/r,

Framerate is consistently divided by 2.5

2014-09-06 Thread Isaac Nickaein
Hi, After patching the kernel, the rate that images are captured from the camera reduce by a factor of 2.5. Here are a list of frame rates I have tried followed by the resulted frame-rate: 10 fps -- 4 fps 15 fps -- 6 fps 25 fps -- 10 fps 30 fps -- 12 fps Note that all of the rates are

[PATCH v2] hackrf: HackRF SDR driver

2014-09-06 Thread Antti Palosaari
V4L2 driver for HackRF SDR. Very basic version, with reduced feature set. Driver implements receiver only, hardware supports also transmitter. USB ID 1d50:6089. Model HackRF One Signed-off-by: Antti Palosaari cr...@iki.fi --- Changes in v2: * renamed state 's' = 'dev' * do not init

Re: [PATCH v2] hackrf: HackRF SDR driver

2014-09-06 Thread Antti Palosaari
On 09/06/2014 12:39 PM, Antti Palosaari wrote: V4L2 driver for HackRF SDR. Very basic version, with reduced feature set. Driver implements receiver only, hardware supports also transmitter. USB ID 1d50:6089. Model HackRF One Signed-off-by: Antti Palosaari cr...@iki.fi --- Changes in v2: *

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Antti Palosaari
On 09/06/2014 07:08 AM, Akihiro TSUKADA wrote: Moikka!, thanks for the comments and advices. I had been updating my code and during that, I also found that updating property cache in tuner_ops.get_signal_strength() was simple and (seemed to me) better than using a kthread, so the current

Re: [PATCH] drivers: media: radio: radio-miropcm20.c: include missing header file

2014-09-06 Thread Sudip Mukherjee
On Fri, Aug 29, 2014 at 01:38:01PM +0530, Sudip Mukherjee wrote: with -Werror=implicit-function-declaration build failed with error : error: implicit declaration of function 'inb' error: implicit declaration of function 'outb' Reported-by: Jim Davis jim.ep...@gmail.com Signed-off-by: Sudip

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Mauro Carvalho Chehab
Em Sat, 06 Sep 2014 06:34:33 +0300 Antti Palosaari cr...@iki.fi escreveu: On 09/06/2014 06:17 AM, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 06:10:01 +0300 Antti Palosaari cr...@iki.fi escreveu: ... I simply don't understand why you want hook that RF strength call via demod? The

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Mauro Carvalho Chehab
Em Sat, 06 Sep 2014 13:36:14 +0300 Antti Palosaari cr...@iki.fi escreveu: On 09/06/2014 07:08 AM, Akihiro TSUKADA wrote: Moikka!, thanks for the comments and advices. I had been updating my code and during that, I also found that updating property cache in

sale cisco switches

2014-09-06 Thread AMY
HI We sale cisco new and original switches and routers, following is the product and price list. If you are interested, please contact me! WS-C3750X-24S-S WS-C3750X-48P-S WS-C2960S-24TS-L WS-C2960S-48TS-L WS-C2960S-48LPS-L WS-C2960S-48FPS-L WS-C2960S-48LPD-L WS-C2960S-48FPD-L MY

[PATCH] af9033: init DVBv5 statistics

2014-09-06 Thread Antti Palosaari
We need to init supported stats here in order signal app which stats are supported. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/af9033.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/media/dvb-frontends/af9033.c

[PATCH 4/5] media: davinci: vpif_display: fix the check on suspend/resume callbacks

2014-09-06 Thread Lad, Prabhakar
It is possible to call STREAMON without having any buffers queued. So vb2_is_streaming() can return true without start_streaming() having been called. Only after at least one buffer has been queued will start_streaming be called. The check vb2_is_streaming() is incorrect as this would start the

[PATCH 0/5] media: davinci: vpif fixes

2014-09-06 Thread Lad, Prabhakar
this patch series fixes several small issues in VPIF driver. Lad, Prabhakar (5): media: davinci: vpif_display: drop setting of vb2 buffer state to ACTIVE media: davinci: vpif_capture: drop setting of vb2 buffer state to ACTIVE media: videobuf2-core.h: add a helper to get status of

[PATCH 5/5] media: davinci: vpif_capture: fix the check on suspend/resume callbacks

2014-09-06 Thread Lad, Prabhakar
It is possible to call STREAMON without having any buffers queued. So vb2_is_streaming() can return true without start_streaming() having been called. Only after at least one buffer has been queued will start_streaming be called. The check vb2_is_streaming() is incorrect as this would start the

[PATCH 2/5] media: davinci: vpif_capture: drop setting of vb2 buffer state to ACTIVE

2014-09-06 Thread Lad, Prabhakar
this patch drops setting of vb2 buffer state to VB2_BUF_STATE_ACTIVE, as any buffer queued to the driver is marked ACTIVE by the vb2 core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/davinci/vpif_capture.c | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH 3/5] media: videobuf2-core.h: add a helper to get status of start_streaming()

2014-09-06 Thread Lad, Prabhakar
this patch adds a helper to get the status if start_streaming() was called successfully. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Pawel Osciak pa...@osciak.com Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Hans Verkuil

[PATCH 1/5] media: davinci: vpif_display: drop setting of vb2 buffer state to ACTIVE

2014-09-06 Thread Lad, Prabhakar
this patch drops setting of vb2 buffer state to VB2_BUF_STATE_ACTIVE, as any buffer queued to the driver is marked ACTIVE by the vb2 core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/davinci/vpif_display.c | 4 1 file changed, 4 deletions(-) diff

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Malcolm Priestley
On 06/09/14 03:51, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 05:09:55 +0300 Antti Palosaari cr...@iki.fi escreveu: Moro! On 08/29/2014 01:45 PM, Akihiro TSUKADA wrote: moikka, Start polling thread, which polls once per 2 sec or so, which reads RSSI and writes value to struct

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Malcolm Priestley
On 06/09/14 17:24, Malcolm Priestley wrote: On 06/09/14 03:51, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 05:09:55 +0300 Antti Palosaari cr...@iki.fi escreveu: Moro! On 08/29/2014 01:45 PM, Akihiro TSUKADA wrote: moikka, Start polling thread, which polls once per 2 sec or so, which

Re: [PATCH 3/3] si2168: avoid firmware loading if it has been loaded previously

2014-09-06 Thread Olli Salonen
Moro Antti, Tried removing the command 85 after resume, but the result is that the demod doesn't lock after sleep. Curiously this only impacts HD or DVB-T2 channels. DVB-T SD channels are fine even after resume. Log of the testing here: http://paste.ubuntu.com/8271949/ Same thing happens after

[PATCH] PT3 (tc90522, mxl301rf, qm1d1c0042) ISDB-S/T driver package

2014-09-06 Thread Буди Романто, AreMa Inc
From: guest knightri...@are.ma DVB driver for Earthsoft PT3 (PCIE ISDB-S/T receiver) = Status: STABLE (there was a bug in previous release, sorry) Behavior: same as PT1 DVB, plus some tuning enhancements 1. in addition to the real frequency:

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-06 Thread Akihiro TSUKADA
moikka!, Basically it is 2 functions, af9035_add_i2c_dev() and af9035_del_i2c_dev() I used request_module()/try_module_get()/module_put() just like the above example (and bridge-core.c). It works, but when I unload bridge driver(earth_pt3), its demod and tuner modules stay loaded, with the

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Malcolm Priestley
On 06/09/14 17:24, Malcolm Priestley wrote: On 06/09/14 03:51, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 05:09:55 +0300 Antti Palosaari cr...@iki.fi escreveu: Moro! On 08/29/2014 01:45 PM, Akihiro TSUKADA wrote: moikka, Start polling thread, which polls once per 2 sec or so, which

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Mauro Carvalho Chehab
Em Sat, 06 Sep 2014 22:37:21 +0100 Malcolm Priestley tvbox...@gmail.com escreveu: On 06/09/14 17:24, Malcolm Priestley wrote: On 06/09/14 03:51, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 05:09:55 +0300 Antti Palosaari cr...@iki.fi escreveu: Moro! On 08/29/2014 01:45 PM,

Re: [PATCH 3/3] si2168: avoid firmware loading if it has been loaded previously

2014-09-06 Thread Antti Palosaari
Moro! Removing 85 causes lose of DVB-T2 lock, but DVB-T works for me too (Si2168 B40). So you were correct. I will apply that patch as it is. That tuner sleep/firmware download patch is another thing. Maybe I will apply it too as it prevents unnecessary firmware downloading for Si2158 (my

[GIT PULL] si2168 and si2157 firmware download improvements

2014-09-06 Thread Antti Palosaari
The following changes since commit 89fffac802c18caebdf4e91c0785b522c9f6399a: [media] drxk_hard: fix bad alignments (2014-09-03 19:19:18 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git silabs_prevent_fw_dl for you to fetch changes up to

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-06 Thread Antti Palosaari
On 09/07/2014 01:37 AM, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 22:37:21 +0100 Malcolm Priestley tvbox...@gmail.com escreveu: On 06/09/14 17:24, Malcolm Priestley wrote: On 06/09/14 03:51, Mauro Carvalho Chehab wrote: Em Sat, 06 Sep 2014 05:09:55 +0300 Antti Palosaari cr...@iki.fi

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-06 Thread Antti Palosaari
On 09/06/2014 10:35 PM, Akihiro TSUKADA wrote: moikka!, Basically it is 2 functions, af9035_add_i2c_dev() and af9035_del_i2c_dev() I used request_module()/try_module_get()/module_put() just like the above example (and bridge-core.c). It works, but when I unload bridge driver(earth_pt3),

[PATCH v2 8/8] tda18212: convert to RegMap API

2014-09-06 Thread Antti Palosaari
Use RegMap API to handle all the boring I2C register access boilerplate stuff. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/Kconfig| 1 + drivers/media/tuners/tda18212.c | 131 ++-- 2 files changed, 18 insertions(+), 114

[PATCH v2 7/8] tda18212: rename state from 'priv' to 'dev'

2014-09-06 Thread Antti Palosaari
foo_dev seems to be most correct term for the structure holding data of each device instance. It is most used term in Kernel codebase and also examples from book Linux Device Drivers, Third Edition, uses it. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/tda18212.c | 104

[PATCH v2 5/8] tda18212: convert driver to I2C binding

2014-09-06 Thread Antti Palosaari
Convert driver from DVB proprietary model to common I2C model. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/tda18212.c | 129 drivers/media/tuners/tda18212.h | 14 - 2 files changed, 79 insertions(+), 64 deletions(-) diff

[PATCH v2 2/8] tda18212: prepare for I2C client conversion

2014-09-06 Thread Antti Palosaari
We need carry pointer to frontend via config struct (I2C platform_data ptr) when I2C model is used. Add that pointer first in order to keep build unbreakable during conversion. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/tda18212.h | 5 + 1 file changed, 5

[PATCH v2 4/8] em28xx: convert tda18212 tuner to I2C client

2014-09-06 Thread Antti Palosaari
Used tda18212 tuner is implemented as a I2C driver. Use em28xx tuner I2C client for tda18212 driver. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/em28xx/em28xx-dvb.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git

[PATCH v2 1/8] tda18212: add support for slave chip version

2014-09-06 Thread Antti Palosaari
There is 2 different versions of that chip available, master and slave. Slave is used only on dual tuner devices with master tuner. Laser printing top of chip is 18212/M or 18212/S according to chip version. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/tda18212.c | 31

[PATCH v2 6/8] tda18212: clean logging

2014-09-06 Thread Antti Palosaari
There is no need to print module name nor function name as those are done by kernel logging system when dev_xxx logging is used and driver is proper I2C driver. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/tda18212.c | 35 ++- 1 file

[PATCH v2 3/8] anysee: convert tda18212 tuner to I2C client

2014-09-06 Thread Antti Palosaari
Used tda18212 tuner is implemented as I2C driver. Implement I2C client to anysee and use it for tda18212. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/anysee.c | 185 +++--- drivers/media/usb/dvb-usb-v2/anysee.h | 3 + 2 files

[GIT PULL] tda18212 improvements

2014-09-06 Thread Antti Palosaari
The following changes since commit 89fffac802c18caebdf4e91c0785b522c9f6399a: [media] drxk_hard: fix bad alignments (2014-09-03 19:19:18 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git tda18212 for you to fetch changes up to

cron job: media_tree daily build: ERRORS

2014-09-06 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 Sep 7 04:00:16 CEST 2014 git branch: test git hash: 89fffac802c18caebdf4e91c0785b522c9f6399a gcc

[ANNOUNCE] libdvbv5 API initial documentation

2014-09-06 Thread Mauro Carvalho Chehab
Hi, We're about to release a new version for the v4l-utils, with the libdvbv5 API improvements. To help developers to understand and use the library, I did an effort to document the major functionalities available at the library. Not everything is there yet, but it should cover already the

Re: [ANNOUNCE] libdvbv5 API initial documentation

2014-09-06 Thread Mauro Carvalho Chehab
Em Sun, 7 Sep 2014 02:35:32 -0300 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Hi, We're about to release a new version for the v4l-utils, with the libdvbv5 API improvements. To help developers to understand and use the library, I did an effort to document the major functionalities

az6027.c:undefined reference to `stb0899_attach'

2014-09-06 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2b12164b55e76e421c069de2cdf6b04c077983f1 commit: 7b34be71db533f3e0cf93d53cf62d036cdb5418a [media] use IS_ENABLED() macro date: 1 year, 7 months ago config: i386-randconfig-ib0-09071244 (attached as .config)