Re: [RFCv2 PATCH 2/2] omap24xx/tcm825x: move to staging for future removal.

2013-12-13 Thread Sakari Ailus
Hi Hans, On Thu, Dec 12, 2013 at 01:26:33PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The omap24xx driver and the tcm825x sensor driver are the only two remaining drivers to still use the old deprecated v4l2-int-device API. Nobody maintains these drivers

[PATCH 1/1] media: Include linux/kernel.h for DIV_ROUND_UP()

2013-12-13 Thread Sakari Ailus
DIV_ROUND_UP() is defined in kernel.h which was not included by media-entity.h. Do exactly that. Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com --- include/media/media-entity.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/media/media-entity.h

[RFC 2/2] media: v4l: Only get module if it's different than the driver for v4l2_dev

2013-12-13 Thread Sakari Ailus
When the sub-device is registered, increment the use count of the sub-device owner only if it's different from the owner of the driver for the media device. This avoids increasing the use count by the module itself and thus making it possible to unload it when it's not in use. Signed-off-by:

[RFC 1/2] media: Use a better owner for the media device

2013-12-13 Thread Sakari Ailus
mdev-fops-owner is actually the owner of the very same module which implements media_device_register(), so it can't be unloaded anyway. Instead, use THIS_MODULE through a macro as does video_register_device(). Signed-off-by: Sakari Ailus sakari.ai...@linux.intel.com ---

Re: [RFCv2 PATCH 2/2] omap24xx/tcm825x: move to staging for future removal.

2013-12-13 Thread Hans Verkuil
On 12/13/2013 12:29 PM, Sakari Ailus wrote: Hi Hans, On Thu, Dec 12, 2013 at 01:26:33PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The omap24xx driver and the tcm825x sensor driver are the only two remaining drivers to still use the old deprecated v4l2-int-device

Re: [RFCv2 PATCH 2/2] omap24xx/tcm825x: move to staging for future removal.

2013-12-13 Thread Sakari Ailus
Hi Hans, On Fri, Dec 13, 2013 at 01:02:33PM +0100, Hans Verkuil wrote: On 12/13/2013 12:29 PM, Sakari Ailus wrote: Hi Hans, On Thu, Dec 12, 2013 at 01:26:33PM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The omap24xx driver and the tcm825x sensor driver are

[REVIEW PATCH 2/4] si470x: add check to test if this is really a si470x.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/radio/si470x/radio-si470x-usb.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/media/radio/si470x/radio-si470x-usb.c

[REVIEW PATCH 3/4] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Cc: Dinesh Ram dinesh@cern.ch --- drivers/media/radio/Kconfig | 14 ++ drivers/media/radio/Makefile | 1 + drivers/media/radio/radio-raremono.c | 387

[REVIEW PATCH 1/4] si470x: don't use buffer on the stack for USB transfers.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com You shouldn't use buffers allocated on the stack for USB transfers, always kmalloc them. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/radio/si470x/radio-si470x-usb.c | 57 +++

[REVIEW PATCH 4/4] MAINTAINERS: add entry for new radio-raremono radio driver.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8285ed4..cedf0df 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8480,6 +8480,14 @@ L:

[REVIEW PATCH 0/4] add radio-raremono driver

2013-12-13 Thread Hans Verkuil
This patch series adds the new radio-raremono driver for the USB 'Thanko's Raremono' AM/FM/SW receiver. Since it (ab)uses the same USB IDs as the si470x SiLabs Reference Design I had to add additional checks to si470x to tell the two apart. While editing si470x I noticed that it passes USB

Re: [PATCHv2 06/11] si4713: Added the USB driver for Si4713

2013-12-13 Thread Hans Verkuil
Hi Mauro, On 12/09/2013 04:47 PM, Mauro Carvalho Chehab wrote: Em Fri, 6 Dec 2013 11:17:09 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: From: Dinesh Ram dinesh@cern.ch This is the USB driver for the Silicon Labs development board. It contains the Si4713 FM transmitter chip.

[GIT PULL FOR v3.14] New si4713-usb driver

2013-12-13 Thread Hans Verkuil
Hi Mauro, This patch series is identical to http://www.spinics.net/lists/linux-media/msg70312.html, except that the last patch (coding style cleanups) is split into one whitespace clean up patch and one time-related cleanup patch as you requested. It's also rebased to the latest master.

Re: [PATCH RFC 3/4] v4l: add new tuner types for SDR

2013-12-13 Thread Hans Verkuil
On 12/12/2013 06:12 PM, Antti Palosaari wrote: On 12.12.2013 09:50, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_SDR for SDR usage. ADC is used for setting sampling rate (sampling frequency) to SDR device. Another tuner

Re: [PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-13 Thread Hans Verkuil
On 12/12/2013 06:22 PM, Antti Palosaari wrote: Hi Hans! On 12.12.2013 09:55, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution. Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 1 + 1 file

[PATCH] Add USB IDs for Winfast DTV Dongle Mini-D

2013-12-13 Thread Robert Backhaus
From: Robert Backhaus rob...@robbak.com Date: Fri Dec 13 22:59:10 2013 +1000 Add USB IDs for the WinFast DTV Dongle Mini. Device is tested and works fine under MythTV Signed-off-by: Robert Backhaus rob...@robbak.com diff --git a/drivers/media/dvb-core/dvb-usb-ids.h

Re: [PATCH RFC 3/4] v4l: add new tuner types for SDR

2013-12-13 Thread Hans Verkuil
On 12/12/2013 08:14 PM, Antti Palosaari wrote: On 12.12.2013 19:12, Antti Palosaari wrote: On 12.12.2013 09:50, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index bc10684..ee91a9f

Re: [PATCH] Add USB IDs for Winfast DTV Dongle Mini-D

2013-12-13 Thread Antti Palosaari
Acked-by: Antti Palosaari cr...@iki.fi Reviewed-by: Antti Palosaari cr...@iki.fi regards Antti On 13.12.2013 16:01, Robert Backhaus wrote: From: Robert Backhaus rob...@robbak.com Date: Fri Dec 13 22:59:10 2013 +1000 Add USB IDs for the WinFast DTV Dongle Mini. Device is tested and

Re: [PATCH RFC 1/2] v4l2: add stream format for SDR receiver

2013-12-13 Thread Hans Verkuil
On 12/12/2013 05:57 PM, Antti Palosaari wrote: Add new V4L2 stream format definition, named V4L2_BUF_TYPE_SDR_RX, for SDR receiver. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/trace/events/v4l2.h | 1 +

Re: [PATCH RFC 1/2] v4l2: add stream format for SDR receiver

2013-12-13 Thread Antti Palosaari
Thanks for the comments Hans! On 13.12.2013 16:36, Hans Verkuil wrote: On 12/12/2013 05:57 PM, Antti Palosaari wrote: + [V4L2_BUF_TYPE_SDR_RX] = sdr-rx, Make this SDR_CAPTURE and sdr-cap to be consistent with existing naming conventions. + {

Re: [PATCH RFC 2/2] v4l2: enable FMT IOCTLs for SDR

2013-12-13 Thread Hans Verkuil
On 12/12/2013 05:57 PM, Antti Palosaari wrote: Enable format IOCTLs for SDR use. There are used for negotiate used data stream format. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/v4l2-core/v4l2-dev.c | 12 drivers/media/v4l2-core/v4l2-ioctl.c | 26

Dear Western Union Beneficiary,

2013-12-13 Thread Western Union Money Transfer
You have been awarded $1.5m from UN/Western Union. Contact Mrs. Pamela Lee with your Full Name,Full Address,Phone Number,Sex,Age, [ westernunion...@mail.mn ] OR dial +60164802057 for more information. Yours truly, Mr. Allen Modderman -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH RFC 2/2] v4l2: enable FMT IOCTLs for SDR

2013-12-13 Thread Antti Palosaari
On 13.12.2013 16:45, Hans Verkuil wrote: On 12/12/2013 05:57 PM, Antti Palosaari wrote: Enable format IOCTLs for SDR use. There are used for negotiate used data stream format. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/v4l2-core/v4l2-dev.c | 12

[PATCH 10/11] media: rc: img-ir: add Sharp decoder module

2013-12-13 Thread James Hogan
Add an img-ir module for decoding the Sharp infrared protocol. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/img-ir/Kconfig| 7 ++ drivers/media/rc/img-ir/Makefile | 1 +

[PATCH 03/11] media: rc: img-ir: add raw driver

2013-12-13 Thread James Hogan
Add raw IR remote control input driver for the ImgTec Infrared decoder block raw edge interrupts. Generic software protocol decoders are used to allow multiple protocols to be supported at a time, including those not supported by the hardware decoder. Signed-off-by: James Hogan

[PATCH 06/11] media: rc: img-ir: add NEC decoder module

2013-12-13 Thread James Hogan
Add an img-ir module for decoding the NEC and extended NEC infrared protocols. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/img-ir/Kconfig | 7 ++ drivers/media/rc/img-ir/Makefile

[PATCH 02/11] media: rc: img-ir: add base driver

2013-12-13 Thread James Hogan
Add base driver for the ImgTec Infrared decoder block. The driver is split into separate components for raw (software) decode and hardware decoder which are in following commits. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc:

[PATCH 11/11] media: rc: img-ir: add Sanyo decoder module

2013-12-13 Thread James Hogan
Add an img-ir module for decoding the Sanyo infrared protocol. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/img-ir/Kconfig| 7 ++ drivers/media/rc/img-ir/Makefile | 1 +

[PATCH 08/11] media: rc: img-ir: add Sony decoder module

2013-12-13 Thread James Hogan
Add an img-ir module for decoding the Sony infrared protocol. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/img-ir/Kconfig | 7 ++ drivers/media/rc/img-ir/Makefile | 1 +

[PATCH 00/11] media: rc: ImgTec IR decoder driver

2013-12-13 Thread James Hogan
Add driver for the ImgTec Infrared decoder block. Two separate rc input devices are exposed depending on kernel configuration. One uses the hardware decoder which is set up with timings for a specific protocol and supports mask/value filtering and wake events. The other uses raw edge interrupts

[PATCH 01/11] dt: binding: add binding for ImgTec IR block

2013-12-13 Thread James Hogan
Add device tree binding for ImgTec Consumer Infrared block. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland

[PATCH 04/11] media: rc: img-ir: add hardware decoder driver

2013-12-13 Thread James Hogan
Add remote control input driver for the ImgTec Infrared block hardware decoder, which is set up with timings for a specific protocol and supports mask/value filtering and wake events. The hardware decoder timing values, raw data to scan code conversion function and scan code filter to raw data

[PATCH 05/11] media: rc: img-ir: add to build

2013-12-13 Thread James Hogan
Add ImgTec IR decoder driver to the build system. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/Kconfig | 2 ++ drivers/media/rc/Makefile| 1 +

[PATCH 07/11] media: rc: img-ir: add JVC decoder module

2013-12-13 Thread James Hogan
Add an img-ir module for decoding the JVC infrared protocol. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/img-ir/Kconfig | 7 +++ drivers/media/rc/img-ir/Makefile | 1 +

[PATCH 09/11] media: rc: add Sharp infrared protocol

2013-12-13 Thread James Hogan
Add Sharp infrared protocol constants RC_TYPE_SHARP and RC_BIT_SHARP. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org --- drivers/media/rc/rc-main.c | 1 + include/media/rc-map.h | 4 +++- 2 files changed, 4

Re: [PATCH RFC 2/2] v4l2: enable FMT IOCTLs for SDR

2013-12-13 Thread Hans Verkuil
On 12/13/2013 04:04 PM, Antti Palosaari wrote: On 13.12.2013 16:45, Hans Verkuil wrote: On 12/12/2013 05:57 PM, Antti Palosaari wrote: Enable format IOCTLs for SDR use. There are used for negotiate used data stream format. Signed-off-by: Antti Palosaari cr...@iki.fi ---

Re: [PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-13 Thread Antti Palosaari
On 13.12.2013 16:05, Hans Verkuil wrote: On 12/12/2013 06:22 PM, Antti Palosaari wrote: Hi Hans! On 12.12.2013 09:55, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution. Signed-off-by: Antti Palosaari cr...@iki.fi ---

Re: [PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-13 Thread Hans Verkuil
On 12/13/2013 04:42 PM, Antti Palosaari wrote: On 13.12.2013 16:05, Hans Verkuil wrote: On 12/12/2013 06:22 PM, Antti Palosaari wrote: Hi Hans! On 12.12.2013 09:55, Hans Verkuil wrote: On 12/12/2013 12:54 AM, Antti Palosaari wrote: Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution.

[REVIEW PATCH 0/9] vb2: various cleanups and improvements

2013-12-13 Thread Hans Verkuil
This patch series does some cleanups in the qbuf/prepare_buf handling (the first three patches). The fourth patch removes the 'fileio = NULL' hack. That hack no longer works when dealing with asynchronous calls from a kernel thread so it had to be fixed. The next three patches implement retrying

[REVIEW PATCH 8/9] vb2: Improve file I/O emulation to handle buffers in any order

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com videobuf2 file I/O emulation assumed that buffers dequeued from the driver would return in the order they were enqueued in the driver. Improve the file I/O emulator's book-keeping to remove this assumption. Also set the buf-size properly if a write()

[REVIEW PATCH 6/9] vb2: don't set index, don't start streaming for write()

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Two fixes: - there is no need to set the index when calling dqbuf: dqbuf will overwrite it. - __vb2_init_fileio already starts streaming for write(), so there is no need to do it again in __vb2_perform_fileio. It can never have worked anyway:

[REVIEW PATCH 4/9] vb2: remove the 'fileio = NULL' hack.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The read/write implementation in vb2 reuses existing vb2 functions, but it sets q-fileio to NULL before calling them in order to skip the 'q-fileio != NULL' check. This works today due to the synchronous nature of read/write, but it 1) is ugly, and 2)

[REVIEW PATCH 3/9] vb2: fix race condition between REQBUFS and QBUF/PREPARE_BUF.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com When preparing a buffer the queue lock is released for a short while if the memory mode is USERPTR (see __buf_prepare for the details), which would allow a race with a REQBUFS which can free the buffers. Removing the buffers from underneath __buf_prepare

[REVIEW PATCH 5/9] vb2: retry start_streaming in case of insufficient buffers.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com If start_streaming returns -ENOBUFS, then it will be retried the next time a buffer is queued. This means applications no longer need to know how many buffers need to be queued before STREAMON can be called. This is particularly useful for output stream

[REVIEW PATCH 7/9] vb2: return ENOBUFS in start_streaming in case of too few buffers.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This works together with the retry_start_streaming mechanism to allow userspace to start streaming even if not all required buffers have been queued. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Lad, Prabhakar prabhakar.cse...@gmail.com

[REVIEW PATCH 1/9] vb2: push the mmap semaphore down to __buf_prepare()

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Rather than taking the mmap semaphore at a relatively high-level function, push it down to the place where it is really needed. It was placed in vb2_queue_or_prepare_buf() to prevent racing with other vb2 calls. The only way I can see that a race can

[REVIEW PATCH 9/9] DocBook: drop the word 'only'.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com There are already video output drivers that allow STREAMON without any buffers queued, and with the change in vb2 there are now more drivers like that. So saying The ioctl will succeed only when at least one output buffer is in the incoming queue. isn't

[REVIEW PATCH 2/9] vb2: simplify qbuf/prepare_buf by removing callback.

2013-12-13 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The callback used to merge the common code of the qbuf/prepare_buf code can be removed now that the mmap_sem handling is pushed down to __buf_prepare(). This makes the code more readable. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by:

Hello Dear Friend,,

2013-12-13 Thread Kuku Gift
Hello Dear Friend,, I am Gift. Please, I will like to be your friend only if you don't mind, contact me for my picture and more about me, Thanks in advance and remain blessed! Gift. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re: [PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-13 Thread Antti Palosaari
On 13.12.2013 18:08, Hans Verkuil wrote: On 12/13/2013 04:42 PM, Antti Palosaari wrote: On 13.12.2013 16:05, Hans Verkuil wrote: On 12/12/2013 06:22 PM, Antti Palosaari wrote: I really appreciate that as simply has no enough knowledge from V4L2 API and API changes are needed. I will try to

Exportation

2013-12-13 Thread Kim
Hello, The Project is about the exportation of 100,000 barrels of Light Crude Oil daily out from Iraq to Turkey through my clients company in Iraq at the rate of $92.00 a barrel. This amount to $9,200,000 daily. I ask for your support as a foreigner to handle this business project with my client

stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-13 Thread Frederik Himpe
[My excuses for multiposting, it seems gmane does not permit posting to all the relevant lists] Since upgrading my system from Linux 3.12 to 3.12.3, my PCTV Systems nanoStick T2 290e does not work anymore. This happens with 3.12.3: [3.778817] em28174 #0: i2c eeprom : 26 00 01 00 02 09

Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Dec 2013 22:19:39 +0100 Frederik Himpe fhi...@telenet.be escreveu: [My excuses for multiposting, it seems gmane does not permit posting to all the relevant lists] Since upgrading my system from Linux 3.12 to 3.12.3, my PCTV Systems nanoStick T2 290e does not work anymore. This

[GIT PULL FOR v3.14] Atmel ISI patches

2013-12-13 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 675722b0e3917c6c917f1aa5f6d005cd3a0479f5: Merge branch 'upstream-fixes' into patchwork (2013-12-13 05:04:00 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git atmel/isi for you to fetch changes up to

cron job: media_tree daily build: ERRORS

2013-12-13 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: Sat Dec 14 04:00:32 CET 2013 git branch: test git hash: 675722b0e3917c6c917f1aa5f6d005cd3a0479f5 gcc

Re: [GIT PULL FOR v3.14] Atmel ISI patches

2013-12-13 Thread Guennadi Liakhovetski
Hi Laurent, On Sat, 14 Dec 2013, Laurent Pinchart wrote: Hi Mauro, The following changes since commit 675722b0e3917c6c917f1aa5f6d005cd3a0479f5: Merge branch 'upstream-fixes' into patchwork (2013-12-13 05:04:00 -0200) are available in the git repository at: