Re: [PATCH 4/4] rtl28xxu: add 15f4:0131 Astrometa DVB-T2

2013-10-30 Thread Honza Petrouš
Antti,
BTW


2013/10/30 Antti Palosaari cr...@iki.fi:
 Components are RTL2832P + R828D + MN88472.

 Currently support only DVB-T as there is no driver for MN88472 demod.

I just (accidentally) found something:
http://code.google.com/p/tdt-amiko/source/browse/tdt/cvs/driver/frontends/spark7162/6158/MN88472_register.c?r=c90ff15db81b1635ce000d89115a31e21a3e5544

It is part of fork of Duckbox project, which is using Linux DVB API,
so it may be worth to try?

/Honza



 Signed-off-by: Antti Palosaari cr...@iki.fi
 ---
  drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 3 +++
  1 file changed, 3 insertions(+)

 diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c 
 b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
 index 8c600b7..ecca036 100644
 --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
 +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
 @@ -1427,6 +1427,9 @@ static const struct usb_device_id rtl28xxu_id_table[] = 
 {
 rtl2832u_props, Leadtek WinFast DTV Dongle mini, NULL) },
 { DVB_USB_DEVICE(USB_VID_GTEK, USB_PID_CPYTO_REDI_PC50A,
 rtl2832u_props, Crypto ReDi PC 50 A, NULL) },
 +
 +   { DVB_USB_DEVICE(USB_VID_HANFTEK, 0x0131,
 +   rtl2832u_props, Astrometa DVB-T2, NULL) },
 { }
  };
  MODULE_DEVICE_TABLE(usb, rtl28xxu_id_table);
 --
 1.8.3.1

 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 1/2] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-10-30 Thread Prabhakar Lad
Hi Lisa,

Thanks for the patch.

On Tue, Oct 29, 2013 at 2:53 AM, Lisa Nguyen l...@xenapiadmin.com wrote:
 Rewrite the return statement in vpfe_video.c to eliminate the
 use of a ternary operator. This will prevent the checkpatch.pl
 script from generating a warning saying to remove () from
 this particular return statement.

 Signed-off-by: Lisa Nguyen l...@xenapiadmin.com
 ---
  drivers/staging/media/davinci_vpfe/vpfe_video.c | 5 -
  1 file changed, 4 insertions(+), 1 deletion(-)

 diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c 
 b/drivers/staging/media/davinci_vpfe/vpfe_video.c
 index 24d98a6..49aafe4 100644
 --- a/drivers/staging/media/davinci_vpfe/vpfe_video.c
 +++ b/drivers/staging/media/davinci_vpfe/vpfe_video.c
 @@ -346,7 +346,10 @@ static int vpfe_pipeline_disable(struct vpfe_pipeline 
 *pipe)
 }
 mutex_unlock(mdev-graph_mutex);

 -   return (ret == 0) ? ret : -ETIMEDOUT ;
 +   if (ret == 0)
 +   return ret;
 +   else
I would remove this else and align the below return statement.

 +   return -ETIMEDOUT;
  }

  /*
Regards,
--Prabhakar Lad
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] staging: media: davinci_vpfe: Remove spaces before semicolons

2013-10-30 Thread Prabhakar Lad
On Tue, Oct 29, 2013 at 2:53 AM, Lisa Nguyen l...@xenapiadmin.com wrote:
 Remove unnecessary spaces before semicolons to meet kernel
 coding style.

 Signed-off-by: Lisa Nguyen l...@xenapiadmin.com

Acked-by: Lad, Prabhakar prabhakar.cse...@gmail.com

Regards,
--Prabhakar Lad
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] V4L2, soc-camera, em28xx: 3.13 fixes and improvements

2013-10-30 Thread Guennadi Liakhovetski
Hi Mauro

I'd like to add 2 more patches from other authors to my pull request for 
3.13. Shall I add them to this branch before you have pulled it (I could 
also rebase it onto the current -next while at it), or shall I rather wait 
for you to pull and then issue a second pull request?

Thanks
Guennadi

On Mon, 28 Oct 2013, Guennadi Liakhovetski wrote:

 Hi Mauro
 
 As agreed a couple of days ago, here go several general V4L2 patches, 
 posted at vatious times with no objections, and patches, aiming at fixing 
 the current em28xx+ov2640 breakage. After you pull them I'll have to 
 remember to change their status in patchwork too...
 
 The following changes since commit 9e11bce4d7065aa826a953936149e182e018a3df:
 
   Add linux-next specific files for 20131025 (2013-10-25 17:07:05 +0200)
 
 are available in the git repository at:
   git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.13-1
 
 Guennadi Liakhovetski (9):
   V4L2: (cosmetic) remove redundant use of unlikely()
   imx074: fix error handling for failed async subdevice registration
   V4L2: add a common V4L2 subdevice platform data type
   soc-camera: switch to using the new struct v4l2_subdev_platform_data
   V4L2: add v4l2-clock helpers to register and unregister a fixed-rate 
 clock
   V4L2: add a v4l2-clk helper macro to produce an I2C device ID
   V4L2: em28xx: register a V4L2 clock source
   V4L2: soc-camera: work around unbalanced calls to .s_power()
   V4L2: em28xx: tell the ov2640 driver to balance clock enabling 
 internally
 
  drivers/media/i2c/soc_camera/imx074.c  |4 ++-
  drivers/media/platform/soc_camera/soc_camera.c |   46 ++-
  drivers/media/usb/em28xx/em28xx-camera.c   |   42 -
  drivers/media/usb/em28xx/em28xx-cards.c|3 ++
  drivers/media/usb/em28xx/em28xx.h  |1 +
  drivers/media/v4l2-core/v4l2-clk.c |   39 
  include/media/soc_camera.h |   27 +++---
  include/media/v4l2-clk.h   |   17 +
  include/media/v4l2-subdev.h|   17 -
  9 files changed, 159 insertions(+), 37 deletions(-)
 
 Thanks
 Guennadi
 ---
 Guennadi Liakhovetski, Ph.D.
 Freelance Open-Source Software Developer
 http://www.open-technology.de/
 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [GIT PULL] V4L2, soc-camera, em28xx: 3.13 fixes and improvements

2013-10-30 Thread Mauro Carvalho Chehab
Em Wed, 30 Oct 2013 10:14:13 +0100 (CET)
Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu:

 Hi Mauro
 
 I'd like to add 2 more patches from other authors to my pull request for 
 3.13. Shall I add them to this branch before you have pulled it (I could 
 also rebase it onto the current -next while at it), or shall I rather wait 
 for you to pull and then issue a second pull request?

Well, as you have write permissions at patchwork, you can simply tag your
previous pull request as superseded and send a new one.

Regards,
Mauro

 
 Thanks
 Guennadi
 
 On Mon, 28 Oct 2013, Guennadi Liakhovetski wrote:
 
  Hi Mauro
  
  As agreed a couple of days ago, here go several general V4L2 patches, 
  posted at vatious times with no objections, and patches, aiming at fixing 
  the current em28xx+ov2640 breakage. After you pull them I'll have to 
  remember to change their status in patchwork too...
  
  The following changes since commit 9e11bce4d7065aa826a953936149e182e018a3df:
  
Add linux-next specific files for 20131025 (2013-10-25 17:07:05 +0200)
  
  are available in the git repository at:
git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.13-1
  
  Guennadi Liakhovetski (9):
V4L2: (cosmetic) remove redundant use of unlikely()
imx074: fix error handling for failed async subdevice registration
V4L2: add a common V4L2 subdevice platform data type
soc-camera: switch to using the new struct v4l2_subdev_platform_data
V4L2: add v4l2-clock helpers to register and unregister a fixed-rate 
  clock
V4L2: add a v4l2-clk helper macro to produce an I2C device ID
V4L2: em28xx: register a V4L2 clock source
V4L2: soc-camera: work around unbalanced calls to .s_power()
V4L2: em28xx: tell the ov2640 driver to balance clock enabling 
  internally
  
   drivers/media/i2c/soc_camera/imx074.c  |4 ++-
   drivers/media/platform/soc_camera/soc_camera.c |   46 
  ++-
   drivers/media/usb/em28xx/em28xx-camera.c   |   42 -
   drivers/media/usb/em28xx/em28xx-cards.c|3 ++
   drivers/media/usb/em28xx/em28xx.h  |1 +
   drivers/media/v4l2-core/v4l2-clk.c |   39 
   include/media/soc_camera.h |   27 +++---
   include/media/v4l2-clk.h   |   17 +
   include/media/v4l2-subdev.h|   17 -
   9 files changed, 159 insertions(+), 37 deletions(-)
  
  Thanks
  Guennadi
  ---
  Guennadi Liakhovetski, Ph.D.
  Freelance Open-Source Software Developer
  http://www.open-technology.de/
  
 
 ---
 Guennadi Liakhovetski, Ph.D.
 Freelance Open-Source Software Developer
 http://www.open-technology.de/




Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 07/19] v4l: sh_vou: Enable the driver on all ARM platforms

2013-10-30 Thread Mauro Carvalho Chehab
Hi Laurent,

Em Tue, 29 Oct 2013 00:46:55 +0100
Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com escreveu:

 Renesas ARM platforms are transitioning from single-platform to
 multi-platform kernels using the new ARCH_SHMOBILE_MULTI. Make the
 driver available on all ARM platforms to enable it on both ARCH_SHMOBILE
 and ARCH_SHMOBILE_MULTI and increase build testing coverage.
 
 Cc: Mauro Carvalho Chehab m.che...@samsung.com
 Cc: linux-media@vger.kernel.org
 Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com

I'm understanding that the plan is to commit it via an ARM tree, right?

If so:
Acked-by: Mauro Carvalho Chehab m.che...@samsung.com

PS.: With regards to the discussions about this patch series,
I'm ok on having this enabled for all archs or just for the
archs that are known have this IP block, of course provided that
not includes to march are there.

The rationale is that, in the specific case of V4L, the platform 
drivers are already on a separate Kconfig menu, with makes no sense
to be enabled on any non SoC configuration.

 ---
  drivers/media/platform/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
 index c7caf94..a726f86 100644
 --- a/drivers/media/platform/Kconfig
 +++ b/drivers/media/platform/Kconfig
 @@ -36,7 +36,7 @@ source drivers/media/platform/blackfin/Kconfig
  config VIDEO_SH_VOU
   tristate SuperH VOU video output driver
   depends on MEDIA_CAMERA_SUPPORT
 - depends on VIDEO_DEV  ARCH_SHMOBILE  I2C
 + depends on VIDEO_DEV  ARM  I2C
   select VIDEOBUF_DMA_CONTIG
   help
 Support for the Video Output Unit (VOU) on SuperH SoCs.


-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Wolfram Sang
Hi,

sorry for the delay. The Kernel Summit made a pretty busy time out of
the last weeks...

 I found one of my drivers was crashing when DTV USB stick was
 plugged. Patch in that mail patch fixes the problem.

Well, if you have a parent, it should be set. This is always a good
idea. Can't really tell why not having it causes the BUG, though.

 I quickly looked possible I2C patches causing the problem and saw
 that one as most suspicions:
 
 commit 3923172b3d700486c1ca24df9c4c5405a83e2309
 i2c: reduce parent checking to a NOOP in non-I2C_MUX case

Did you try reverting it? I am not sure this is the one.

 i2c i2c-6: adapter [RTL2830 tuner I2C adapter] registered
 BUG: unable to handle kernel NULL pointer dereference at 0220
 IP: [a0002900] i2c_register_adapter+0x130/0x390 [i2c_core]

Can we have the full BUG output?

Regards,

   Wolfram



signature.asc
Description: Digital signature


Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Antti Palosaari

(now with an attachement)

On 30.10.2013 17:16, Wolfram Sang wrote:

Hi,

sorry for the delay. The Kernel Summit made a pretty busy time out of
the last weeks...


I found one of my drivers was crashing when DTV USB stick was
plugged. Patch in that mail patch fixes the problem.


Well, if you have a parent, it should be set. This is always a good
idea. Can't really tell why not having it causes the BUG, though.


I quickly looked possible I2C patches causing the problem and saw
that one as most suspicions:

commit 3923172b3d700486c1ca24df9c4c5405a83e2309
i2c: reduce parent checking to a NOOP in non-I2C_MUX case


Did you try reverting it? I am not sure this is the one.


Nope, not to mentio bisect. I have done bisect few times and I am not 
going to waste whole day of compiling and booting new kernels.


Crash disappeared whit that little patch. I did also some DVB USB core 
changes for 3.12, but I cannot see it could be root of cause that crash.




i2c i2c-6: adapter [RTL2830 tuner I2C adapter] registered
BUG: unable to handle kernel NULL pointer dereference at 0220
IP: [a0002900] i2c_register_adapter+0x130/0x390 [i2c_core]


Can we have the full BUG output?


See attachement.

Anyway, I am going to ask Mauro to merge that I2C parent patch and maybe 
try to sent it stable too as it is likely a bit too late for 3.12 RC.



regards
Antti

--
http://palosaari.fi/
loka 30 17:28:09 localhost.localdomain kernel: usb 2-2: new high-speed USB 
device number 2 using ehci-pci
loka 30 17:28:09 localhost.localdomain kernel: usb 2-2: New USB device found, 
idVendor=14aa, idProduct=0160
loka 30 17:28:09 localhost.localdomain kernel: usb 2-2: New USB device strings: 
Mfr=1, Product=2, SerialNumber=3
loka 30 17:28:09 localhost.localdomain kernel: [31B blob data]
loka 30 17:28:09 localhost.localdomain kernel: [36B blob data]
loka 30 17:28:09 localhost.localdomain kernel: usb 2-2: SerialNumber: 
00065658
loka 30 17:28:09 localhost.localdomain mtp-probe[3060]: checking bus 2, device 
2: /sys/devices/pci:00/:00:13.2/usb2/2-2
loka 30 17:28:09 localhost.localdomain mtp-probe[3060]: bus: 2, device: 2 was 
not an MTP device
loka 30 17:28:09 localhost.localdomain kernel: usb 2-2: dvb_usb_v2: found a 
'Freecom USB2.0 DVB-T' in warm state
loka 30 17:28:09 localhost.localdomain kernel: usb 2-2: dvb_usb_v2: will pass 
the complete MPEG2 transport stream to the software demuxer
loka 30 17:28:09 localhost.localdomain kernel: DVB: registering new adapter 
(Freecom USB2.0 DVB-T)
loka 30 17:28:09 localhost.localdomain kernel: BUG: unable to handle kernel 
NULL pointer dereference at 0220
loka 30 17:28:09 localhost.localdomain kernel: IP: [a0002900] 
i2c_register_adapter+0x130/0x390 [i2c_core]
loka 30 17:28:09 localhost.localdomain systemd-udevd[434]: worker [3059] 
terminated by signal 9 (Killed)
loka 30 17:28:09 localhost.localdomain systemd-udevd[434]: worker [3059] failed 
while handling '/devices/pci:00/:00:13.2/usb2/2-2/2-2:1.0'
loka 30 17:28:09 localhost.localdomain kernel: PGD 0 
loka 30 17:28:09 localhost.localdomain kernel: Oops:  [#1] SMP 
loka 30 17:28:09 localhost.localdomain kernel: Modules linked in: 
dvb_usb_rtl28xxu(O+) rtl2830(O) dvb_usb_v2(O) fuse nf_conntrack_netbios_ns 
nf_conntrack_broadcast ipt_MAS...p6table_man
loka 30 17:28:09 localhost.localdomain kernel:  btusb snd_pcm bluetooth 
rc_core(O) microcode nfsd serio_raw edac_core pcspkr k10temp edac_mce_amd r8169 
snd_page_alloc rfkill snd_time...
loka 30 17:28:09 localhost.localdomain kernel: CPU: 1 PID: 3059 Comm: 
systemd-udevd Tainted: G   O 3.12.0-rc2+ #69
loka 30 17:28:09 localhost.localdomain kernel: Hardware name: System 
manufacturer System Product Name/M5A78L-M/USB3, BIOS 150311/14/2012
loka 30 17:28:09 localhost.localdomain kernel: task: 8800cf87ed60 ti: 
8800bee5a000 task.ti: 8800bee5a000
loka 30 17:28:09 localhost.localdomain kernel: RIP: 0010:[a0002900]  
[a0002900] i2c_register_adapter+0x130/0x390 [i2c_core]
loka 30 17:28:09 localhost.localdomain kernel: RSP: 0018:8800bee5baa8  
EFLAGS: 00010246
loka 30 17:28:09 localhost.localdomain kernel: RAX:  RBX: 
880237066520 RCX: 8800cee94da8
loka 30 17:28:09 localhost.localdomain kernel: RDX: 8800cee95e88 RSI: 
88030971aec8 RDI: 81c70e60
loka 30 17:28:09 localhost.localdomain kernel: RBP: 8800bee5bac8 R08: 
8800cee95e88 R09: 
loka 30 17:28:09 localhost.localdomain kernel: R10: 5457 R11: 
 R12: 
loka 30 17:28:09 localhost.localdomain kernel: R13: 880237066568 R14: 
 R15: 880237066520
loka 30 17:28:09 localhost.localdomain kernel: FS:  7fd41e084880() 
GS:88031fc4() knlGS:
loka 30 17:28:09 localhost.localdomain kernel: CS:  0010 DS:  ES:  CR0: 
8005003b
loka 30 17:28:09 localhost.localdomain kernel: CR2: 0220 

Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Antti Palosaari

On 30.10.2013 17:16, Wolfram Sang wrote:

Hi,

sorry for the delay. The Kernel Summit made a pretty busy time out of
the last weeks...


I found one of my drivers was crashing when DTV USB stick was
plugged. Patch in that mail patch fixes the problem.


Well, if you have a parent, it should be set. This is always a good
idea. Can't really tell why not having it causes the BUG, though.


I quickly looked possible I2C patches causing the problem and saw
that one as most suspicions:

commit 3923172b3d700486c1ca24df9c4c5405a83e2309
i2c: reduce parent checking to a NOOP in non-I2C_MUX case


Did you try reverting it? I am not sure this is the one.


Nope, not to mentio bisect. I have done bisect few times and I am not 
going to waste whole day of compiling and booting new kernels.


Crash disappeared whit that little patch. I did also some DVB USB core 
changes for 3.12, but I cannot see it could be root of cause that crash.




i2c i2c-6: adapter [RTL2830 tuner I2C adapter] registered
BUG: unable to handle kernel NULL pointer dereference at 0220
IP: [a0002900] i2c_register_adapter+0x130/0x390 [i2c_core]


Can we have the full BUG output?


See attachement.

Anyway, I am going to ask Mauro to merge that I2C parent patch and maybe 
try to sent it stable too as it is likely a bit too late for 3.12 RC.



regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Wolfram Sang

 commit 3923172b3d700486c1ca24df9c4c5405a83e2309
 i2c: reduce parent checking to a NOOP in non-I2C_MUX case
 
 Did you try reverting it? I am not sure this is the one.
 
 Nope, not to mentio bisect. I have done bisect few times and I am
 not going to waste whole day of compiling and booting new kernels.

Well, I intentionally asked for revert not bisect. Removing the #ifdef
can easily be done by hand if needed and will just need one recompile to
make sure.

 Crash disappeared whit that little patch.

Yes, still I'd like to understand where the BUG came from. There are
probably other driver in need of a fix, too.

 Anyway, I am going to ask Mauro to merge that I2C parent patch and
 maybe try to sent it stable too as it is likely a bit too late for
 3.12 RC.

If it fixes a crash, I wouldn't consider it too late. Yet only given we
have understood this is a proper fix.

Was there a change in using CONFIG_I2C_COMPAT? Is it currently used?

Regards,

   Wolfram



signature.asc
Description: Digital signature


Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Antti Palosaari

On 30.10.2013 17:45, Wolfram Sang wrote:



commit 3923172b3d700486c1ca24df9c4c5405a83e2309
i2c: reduce parent checking to a NOOP in non-I2C_MUX case


Did you try reverting it? I am not sure this is the one.


Nope, not to mentio bisect. I have done bisect few times and I am
not going to waste whole day of compiling and booting new kernels.


Well, I intentionally asked for revert not bisect. Removing the #ifdef
can easily be done by hand if needed and will just need one recompile to
make sure.


Yes, but compiling whole Kernel is always pain. I dont certainly want to 
do that just for testing some patches.



Crash disappeared whit that little patch.


Yes, still I'd like to understand where the BUG came from. There are
probably other driver in need of a fix, too.


Anyway, I am going to ask Mauro to merge that I2C parent patch and
maybe try to sent it stable too as it is likely a bit too late for
3.12 RC.


If it fixes a crash, I wouldn't consider it too late. Yet only given we
have understood this is a proper fix.

Was there a change in using CONFIG_I2C_COMPAT? Is it currently used?


Jean jsut pointed out on IRC that this patch likely fixes the issue:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=47b6e477ed4ecacddd1f82d04d686026e08dc3db

As that patch is already applied to 3.12 it should be fine. I was 
running media master which is based 3.12-rc2.


So I am sending that patch to Kernel 3.13.

regards
Antti


--
http://palosaari.fi/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Wolfram Sang

 Well, I intentionally asked for revert not bisect. Removing the #ifdef
 can easily be done by hand if needed and will just need one recompile to
 make sure.
 
 Yes, but compiling whole Kernel is always pain. I dont certainly
 want to do that just for testing some patches.

Well, if you ask for support for debugging, you should be prepared to do
exactly that.

 Jean jsut pointed out on IRC that this patch likely fixes the issue:
 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=47b6e477ed4ecacddd1f82d04d686026e08dc3db

Yup, he is right. You have ACPI enabled.

 As that patch is already applied to 3.12 it should be fine. I was
 running media master which is based 3.12-rc2.

Asking you to build the latest kernel might have been another thing I'd
ask you to do.



signature.asc
Description: Digital signature


Re: [PATCH] rtl2830: add parent for I2C adapter

2013-10-30 Thread Antti Palosaari

On 30.10.2013 18:02, Wolfram Sang wrote:



Well, I intentionally asked for revert not bisect. Removing the #ifdef
can easily be done by hand if needed and will just need one recompile to
make sure.


Yes, but compiling whole Kernel is always pain. I dont certainly
want to do that just for testing some patches.


Well, if you ask for support for debugging, you should be prepared to do
exactly that.


Jean jsut pointed out on IRC that this patch likely fixes the issue:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=47b6e477ed4ecacddd1f82d04d686026e08dc3db


Yup, he is right. You have ACPI enabled.


As that patch is already applied to 3.12 it should be fine. I was
running media master which is based 3.12-rc2.


Asking you to build the latest kernel might have been another thing I'd
ask you to do.


I installed that single patch top of media master tree and it fixes the 
problem. Maybe this is enough If there is still good reason to latest 
Linus tree I can do that too.

RTL2830 adapter parent patch will go to the 3.13.

Thanks Jean and Wolfram

regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[GIT PULL v2] V4L2, soc-camera, em28xx: 3.13 fixes and improvements

2013-10-30 Thread Guennadi Liakhovetski
On Wed, 30 Oct 2013, Mauro Carvalho Chehab wrote:

 Em Wed, 30 Oct 2013 10:14:13 +0100 (CET)
 Guennadi Liakhovetski g.liakhovet...@gmx.de escreveu:
 
  Hi Mauro
  
  I'd like to add 2 more patches from other authors to my pull request for 
  3.13. Shall I add them to this branch before you have pulled it (I could 
  also rebase it onto the current -next while at it), or shall I rather wait 
  for you to pull and then issue a second pull request?
 
 Well, as you have write permissions at patchwork, you can simply tag your
 previous pull request as superseded and send a new one.

Well, that would still leave a race window, but since now you know, here 
goes a v2:

The following changes since commit 3a94271d0798fe2a2e5bfe2d135f2c8f6db2e80b:

  Add linux-next specific files for 20131030 (2013-10-30 18:27:18 +1100)

are available in the git repository at:
  git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.13-1

Guennadi Liakhovetski (9):
  V4L2: (cosmetic) remove redundant use of unlikely()
  imx074: fix error handling for failed async subdevice registration
  V4L2: add a common V4L2 subdevice platform data type
  soc-camera: switch to using the new struct v4l2_subdev_platform_data
  V4L2: add v4l2-clock helpers to register and unregister a fixed-rate clock
  V4L2: add a v4l2-clk helper macro to produce an I2C device ID
  V4L2: em28xx: register a V4L2 clock source
  V4L2: soc-camera: work around unbalanced calls to .s_power()
  V4L2: em28xx: tell the ov2640 driver to balance clock enabling internally

Michael Opdenacker (1):
  sh_mobile_ceu_camera: remove deprecated IRQF_DISABLED

Valentine Barshak (1):
  media: rcar_vin: Add preliminary r8a7790 support

 drivers/media/i2c/soc_camera/imx074.c  |4 +-
 drivers/media/platform/soc_camera/rcar_vin.c   |5 ++-
 .../platform/soc_camera/sh_mobile_ceu_camera.c |2 +-
 drivers/media/platform/soc_camera/soc_camera.c |   46 
 drivers/media/usb/em28xx/em28xx-camera.c   |   42 ++
 drivers/media/usb/em28xx/em28xx-cards.c|3 +
 drivers/media/usb/em28xx/em28xx.h  |1 +
 drivers/media/v4l2-core/v4l2-clk.c |   39 +
 include/media/soc_camera.h |   27 +---
 include/media/v4l2-clk.h   |   17 +++
 include/media/v4l2-subdev.h|   17 ++-
 11 files changed, 164 insertions(+), 39 deletions(-)

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[GIT PULL] RTL2832P + R828D [USB ID 15f4:0131]

2013-10-30 Thread Antti Palosaari
That patchset adds initial support for RTL2832P based device with USB ID 
15f4:0131. Device supports DVB-T/T2/C using Panasonic MN88472 
demodulator, but as there is no driver for that demodulator supports is 
reduced to DVB-T only, that is coming from RTL2832P integrated 
demodulator. I know there is someone working with that new demod driver 
too :)


Changes are very small and should not cause regression in any case.

I wrote small blog post of teardowning that device:
http://blog.palosaari.fi/2013/10/naked-hardware-14-dvb-t2-usb-tv-stick.html

regards
Antti

The following changes since commit 1957f0d71c5a6dc8c6f2435ec477ec777d080603:

  [media] s5p-mfc: remove deprecated IRQF_DISABLED (2013-10-28 16:51:50 
-0200)


are available in the git repository at:

  git://linuxtv.org/anttip/media_tree.git rtl2832u_r828d

for you to fetch changes up to 27dd7e42dee0f991c98f1795991e5ba34a986ee2:

  rtl28xxu: add 15f4:0131 Astrometa DVB-T2 (2013-10-30 07:38:11 +0200)


Antti Palosaari (4):
  r820t: add support for R828D
  rtl2832: add new tuner R828D
  rtl28xxu: add RTL2832P + R828D support
  rtl28xxu: add 15f4:0131 Astrometa DVB-T2

 drivers/media/dvb-frontends/rtl2832.c   |  1 +
 drivers/media/dvb-frontends/rtl2832.h   |  1 +
 drivers/media/tuners/r820t.c| 22 +-
 drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 42 
++

 drivers/media/usb/dvb-usb-v2/rtl28xxu.h |  1 +
 5 files changed, 58 insertions(+), 9 deletions(-)



--
http://palosaari.fi/
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] media: v4l2-mem2mem: Fixed bug v4l2_m2m_streamoff function

2013-10-30 Thread 강성천
 
In multi-instance scenario with multi-core, m2m_ctx-queue is removed again
sometimes.
So, it is need to check whether the queue is removed or not.
 
Change-Id: Ie938e9026039304388a369d5d10d1654213ba3b1
Signed-off-by: Sungchun Kang sungchun.k...@samsung.com
---
drivers/media/v4l2-core/v4l2-mem2mem.c |   11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-mem2mem.c b/drivers/media/v4l2-
core/v4l2-mem2mem.c
index 8512314..47b8fdd 100644
--- a/drivers/media/v4l2-core/v4l2-mem2mem.c
+++ b/drivers/media/v4l2-core/v4l2-mem2mem.c
@@ -438,9 +438,14 @@ int v4l2_m2m_streamoff(struct file *file, struct
v4l2_m2m_ctx *m2m_ctx,
m2m_dev = m2m_ctx-m2m_dev;
spin_lock_irqsave(m2m_dev-job_spinlock, flags_job);
/* We should not be scheduled anymore, since we're dropping a queue. */
-   if (!list_empty(m2m_dev-job_queue))
-   list_del(m2m_ctx-queue);
-
+   if (!list_empty(m2m_dev-job_queue)) {
+   struct v4l2_m2m_ctx *list_ctx, *temp_ctx;
+   list_for_each_entry_safe(list_ctx, temp_ctx,
+   m2m_dev-job_queue, queue) {
+   if (list_ctx == m2m_ctx)
+   list_del(m2m_ctx-queue);
+   }
+   }
INIT_LIST_HEAD(m2m_ctx-queue);
m2m_ctx-job_flags = 0;

-- 
1.7.4.1

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


cron job: media_tree daily build: WARNINGS

2013-10-30 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:   Thu Oct 31 04:00:30 CET 2013
git branch: for-v3.13c
git hash:   3adeac2c34cc28e05d0ec52f38f009dcce278555
gcc version:i686-linux-gcc (GCC) 4.8.1
sparse version: 0.4.5-rc1
host hardware:  x86_64
host os:3.11-4.slh.2-amd64

linux-git-arm-at91: OK
linux-git-arm-davinci: OK
linux-git-arm-exynos: OK
linux-git-arm-mx: OK
linux-git-arm-omap: OK
linux-git-arm-omap1: OK
linux-git-arm-pxa: OK
linux-git-blackfin: OK
linux-git-i686: OK
linux-git-m32r: OK
linux-git-mips: OK
linux-git-powerpc64: OK
linux-git-sh: OK
linux-git-x86_64: OK
linux-2.6.31.14-i686: OK
linux-2.6.32.27-i686: OK
linux-2.6.33.7-i686: OK
linux-2.6.34.7-i686: OK
linux-2.6.35.9-i686: OK
linux-2.6.36.4-i686: OK
linux-2.6.37.6-i686: OK
linux-2.6.38.8-i686: OK
linux-2.6.39.4-i686: OK
linux-3.0.60-i686: OK
linux-3.1.10-i686: OK
linux-3.2.37-i686: OK
linux-3.3.8-i686: OK
linux-3.4.27-i686: OK
linux-3.5.7-i686: OK
linux-3.6.11-i686: OK
linux-3.7.4-i686: OK
linux-3.8-i686: OK
linux-3.9.2-i686: OK
linux-3.10.1-i686: OK
linux-3.11.1-i686: OK
linux-3.12-rc1-i686: OK
linux-2.6.31.14-x86_64: OK
linux-2.6.32.27-x86_64: OK
linux-2.6.33.7-x86_64: OK
linux-2.6.34.7-x86_64: OK
linux-2.6.35.9-x86_64: OK
linux-2.6.36.4-x86_64: OK
linux-2.6.37.6-x86_64: OK
linux-2.6.38.8-x86_64: OK
linux-2.6.39.4-x86_64: OK
linux-3.0.60-x86_64: OK
linux-3.1.10-x86_64: OK
linux-3.2.37-x86_64: OK
linux-3.3.8-x86_64: OK
linux-3.4.27-x86_64: OK
linux-3.5.7-x86_64: OK
linux-3.6.11-x86_64: OK
linux-3.7.4-x86_64: OK
linux-3.8-x86_64: OK
linux-3.9.2-x86_64: OK
linux-3.10.1-x86_64: OK
linux-3.11.1-x86_64: OK
linux-3.12-rc1-x86_64: OK
apps: WARNINGS
spec-git: OK
sparse version: 0.4.5-rc1
sparse: ERRORS

Detailed results are available here:

http://www.xs4all.nl/~hverkuil/logs/Thursday.log

Full logs are available here:

http://www.xs4all.nl/~hverkuil/logs/Thursday.tar.bz2

The Media Infrastructure API from this daily build is here:

http://www.xs4all.nl/~hverkuil/spec/media.html
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


piacevolmente sorpresi

2013-10-30 Thread lucabe...@libero.it





caro amico
un buon posto di shopping per andare
www.itevb.com
invitati a provare


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html