Re: [PATCH 2/4] rtl28xxu: swap frontend order for devices with slave demodulators

2014-12-14 Thread Antti Palosaari
On 12/13/2014 08:52 PM, Benjamin Larsson wrote: On 12/13/2014 02:35 PM, Antti Palosaari wrote: Do you understand that code at all? No I can't really say I understand all the workings of the media api. Now it is: FE0 == (fe-id == 0) == RTL2832 FE1 == (fe-id == 1) == MN88472 you changed

[PATCH 03/18] rtl2830: get rid of legacy DVB driver binding

2014-12-14 Thread Antti Palosaari
Remove legacy DVB binding as all users are using I2C binding. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 101 - drivers/media/dvb-frontends/rtl2830.h | 63 --

[PATCH 05/18] rtl2830: carry pointer to I2C client for every function

2014-12-14 Thread Antti Palosaari
As a I2C driver struct i2c_client is top level structure representing the driver. Use it as parameter to carry all needed information for each function in order to simplify things. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 97

[PATCH 02/18] rtl28xxu: use I2C binding for RTL2830 demod driver

2014-12-14 Thread Antti Palosaari
rtl2830 driver supports now I2C model too. Start using it. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 80 +++-- drivers/media/usb/dvb-usb-v2/rtl28xxu.h | 17 +++ 2 files changed, 54 insertions(+), 43 deletions(-)

[PATCH 04/18] rtl2830: rename 'priv' to 'dev'

2014-12-14 Thread Antti Palosaari
Use name 'dev' for device state instance as it is more common and also one letter shorter. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 212 ++--- drivers/media/dvb-frontends/rtl2830_priv.h | 2 +- 2 files changed, 107

[PATCH 06/18] rtl2830: fix logging

2014-12-14 Thread Antti Palosaari
Pass correct device for dev_foo() logging in order to print logs correctly. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 43 +-- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git

[PATCH 18/18] rtl2830: convert to RegMap API

2014-12-14 Thread Antti Palosaari
Use RegMap to cover register access routines. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/Kconfig| 1 + drivers/media/dvb-frontends/rtl2830.c | 414 + drivers/media/dvb-frontends/rtl2830_priv.h | 3 +- 3 files changed,

[PATCH 09/18] rtl2830: implement DVBv5 CNR statistic

2014-12-14 Thread Antti Palosaari
DVBv5 CNR. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 74 ++ drivers/media/dvb-frontends/rtl2830_priv.h | 3 ++ 2 files changed, 77 insertions(+) diff --git a/drivers/media/dvb-frontends/rtl2830.c

[PATCH 14/18] rtl2830: wrap DVBv5 CNR to DVBv3 SNR

2014-12-14 Thread Antti Palosaari
Change legacy DVBv3 read SNR to return values calculated by DVBv5 statistics. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 44 ++ drivers/media/dvb-frontends/rtl2830_priv.h | 1 + 2 files changed, 4 insertions(+), 41

[PATCH 12/18] rtl2830: wrap DVBv5 signal strength to DVBv3

2014-12-14 Thread Antti Palosaari
Change legacy DVBv3 signal strength to return values calculated by DVBv5 statistics. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 27 --- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git

[PATCH 15/18] rtl2830: implement PID filter

2014-12-14 Thread Antti Palosaari
Implement PID filter. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 67 ++ drivers/media/dvb-frontends/rtl2830.h | 2 + drivers/media/dvb-frontends/rtl2830_priv.h | 1 + 3 files changed, 70 insertions(+) diff

[PATCH 17/18] rtl2830: implement own I2C locking

2014-12-14 Thread Antti Palosaari
Own I2C locking is needed due to two special reasons: 1) Chips uses multiple register pages/banks on single I2C slave. Page is changed via I2C register access. 2) Chip offers muxed/gated I2C adapter for tuner. Gate/mux is controlled by I2C register access. Due to these reasons, I2C locking did

[PATCH 07/18] rtl2830: get rid of internal config data

2014-12-14 Thread Antti Palosaari
Remove internal config and use configuration values directly from the platform data. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 43 -- drivers/media/dvb-frontends/rtl2830_priv.h | 15 +-- 2 files changed, 18

[PATCH 11/18] rtl2830: implement DVBv5 BER statistic

2014-12-14 Thread Antti Palosaari
DVBv5 BER. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 25 + drivers/media/dvb-frontends/rtl2830_priv.h | 2 ++ 2 files changed, 27 insertions(+) diff --git a/drivers/media/dvb-frontends/rtl2830.c

[PATCH 08/18] rtl2830: style related changes

2014-12-14 Thread Antti Palosaari
Trivial changes proposed by checkpatch.pl and some more. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 125 ++--- drivers/media/dvb-frontends/rtl2830.h | 4 - drivers/media/dvb-frontends/rtl2830_priv.h | 3 - 3 files

[PATCH 10/18] rtl2830: implement DVBv5 signal strength statistics

2014-12-14 Thread Antti Palosaari
Estimate signal strength from IF AGC. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2830.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/media/dvb-frontends/rtl2830.c b/drivers/media/dvb-frontends/rtl2830.c index

[PATCH 01/18] rtl2830: convert driver to kernel I2C model

2014-12-14 Thread Antti Palosaari
Convert driver to kernel I2C model. Old DVB proprietary model is still left there also. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/Kconfig| 2 +- drivers/media/dvb-frontends/rtl2830.c | 167 +

Re: [PATCH 4/4] mn88472: implemented ber reporting

2014-12-14 Thread Antti Palosaari
On 12/13/2014 01:12 PM, Benjamin Larsson wrote: On 12/13/2014 05:15 AM, Antti Palosaari wrote: On 12/13/2014 02:18 AM, Benjamin Larsson wrote: Signed-off-by: Benjamin Larsson benja...@southpole.se Reviewed-by: Antti Palosaari cr...@iki.fi Even I could accept that, as a staging driver, I

Re: LibV4L2 and CREATE_BUFS issues

2014-12-14 Thread Hans de Goede
Hi, On 13-12-14 17:15, Nicolas Dufresne wrote: Le 2014-12-13 05:41, Hans de Goede a écrit : I think making CREATE_BUFS fail when doing conversion is probably best, note that gstreamer should be able to tell which formats will lead to doing conversion, and that it can try to avoid those.

Re: [PATCH] Si2168: increase timeout to fix firmware loading

2014-12-14 Thread Antti Palosaari
On 12/08/2014 07:52 PM, Antti Palosaari wrote: On 12/08/2014 10:30 AM, Jurgen Kramer wrote: Increase si2168 cmd execute timeout to prevent firmware load failures. Tests shows it takes up to 52ms to load the 'dvb-demod-si2168-a30-01.fw' firmware. Increase timeout to a safe value of 70ms.

Re: [git:v4l-utils/master] Update INSTALL instructions and add a script to configure

2014-12-14 Thread Hans Verkuil
On 12/14/2014 12:26 PM, Mauro Carvalho Chehab wrote: This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: Update INSTALL instructions and add a script to configure Author: Mauro

Re: [git:v4l-utils/master] Update INSTALL instructions and add a script to configure

2014-12-14 Thread Mauro Carvalho Chehab
Hi Hans, Em Sun, 14 Dec 2014 12:40:58 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 12/14/2014 12:26 PM, Mauro Carvalho Chehab wrote: This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Re: [git:v4l-utils/master] Update INSTALL instructions and add a script to configure

2014-12-14 Thread Mauro Carvalho Chehab
Hi Hans, Em Sun, 14 Dec 2014 09:51:56 -0200 Mauro Carvalho Chehab mche...@osg.samsung.com escreveu: FYI: after running ./bootstrap.sh I get the diff shown below if I run 'git diff'. That suggests that there are autogenerated files in the git repo that do not belong there. ... I did a

Re: LibV4L2 and CREATE_BUFS issues

2014-12-14 Thread Nicolas Dufresne
Le 2014-12-14 04:49, Hans de Goede a écrit : Ah yes I see, so I assume that if libv4l where to return a failure for CREATE_BUFS when conversion is used, that gstreamer will then fallback to a regular REQUEST_BUFS call ? Then that indeed seems the best solution, can you submit patch for this ?

Re: [PATCH 16/18] rtl28xxu: add support for RTL2831U/RTL2830 PID filter

2014-12-14 Thread Antti Palosaari
On 12/14/2014 09:25 PM, Benjamin Larsson wrote: On 12/14/2014 09:28 AM, Antti Palosaari wrote: RTL2830 demod integrated to RTL2831U has PID filter. PID filtering is provided by rtl2830 demod driver. Add support for it. Do you plan on adding this for the RTL2832 demod also ? I already did,

kindly Send Your CV

2014-12-14 Thread 5423
MARRIOTT HOTEL SINGAPORE HAS EMPLOYMENT OPPORTUNITIES FOR AN EXOTIC CANDIDATES IN DIFFERENT SKILLS,SEND YOUR CURRENT CV/RESUME AND APPLICATION LETTER IN MICRO SOFT TO THIS E-MAIL ID: marriotho...@qq.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

cron job: media_tree daily build: ERRORS

2014-12-14 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: Mon Dec 15 04:00:21 CET 2014 git branch: test git hash: e272d95f8c0544cff55c485a10828b063c8e417c gcc