cron job: media_tree daily build: ERRORS

2015-02-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 Feb 14 04:00:22 CET 2015 git branch: test git hash: 135f9be9194cf7778eb73594aa55791b229cf27c gcc versio

ZAPYTANIE O ZGODĘ NA WYSŁANIE OFERTY / INFORMACJI HANDLOWEJ

2015-02-13 Thread naukajezykow
Szkoła Nauki Języków Obcych prosi o wyrażenie zgody na przesłanie materiałów reklamowo-informacyjno-handlowych w zakresie: 1. Realizacji szkoleń branżowych i specjalistycznych dla osób posługujących się językiem obcym. 2. Nauki języka ogólnego na wszystkich poziomach zaawansowania - general

[PATCHv4 04/25] [media] media: add new types for DVB devnodes

2015-02-13 Thread Mauro Carvalho Chehab
Most of the DVB subdevs have already their own devnode. Add support for them at the media controller API. Signed-off-by: Mauro Carvalho Chehab diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 418f4fec391a..4c8f26243252 100644 --- a/include/uapi/linux/media.h +++ b/incl

[PATCHv4 14/25] [media] dvbdev: add pad for the DVB devnodes

2015-02-13 Thread Mauro Carvalho Chehab
We want to represent the links between the several DVB devnodes, so let's create PADs for them. The DVB net devnode is a different matter, as it is not related to the media stream, but with network. So, at least for now, let's not add any pad for it. Signed-off-by: Mauro Carvalho Chehab diff --

[PATCHv4 22/25] [media] dvbdev: enable DVB-specific links

2015-02-13 Thread Mauro Carvalho Chehab
For now, let's keep the DVB-specific media controller links enabled by default. On most devices, this is fixed anyway, so no big issue. Ok, the demux actually have dynamic links based on the filters, but we don't represent them yet, as the media controller currently lacks the capability of dynamic

[PATCHv4 20/25] [media] dvbdev: add a function to create DVB media graph

2015-02-13 Thread Mauro Carvalho Chehab
We need to create a DVB graph, linking the several DVB devnodes. Add such function. Please notice that this helper function doesn't take into account devices with multiple DVB adapters and frontends. For devices with multiple adapters, they should either create two different media controller inst

[PATCHv4 08/25] [media] dvbdev: add support for media controller

2015-02-13 Thread Mauro Carvalho Chehab
Provide a way to register media controller device nodes at the DVB core. Please notice that the dvbdev callers also require changes for the devices to be registered via the media controller. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 49

[PATCHv4 10/25] [media] dvb_frontend: add media controller support for DVB frontend

2015-02-13 Thread Mauro Carvalho Chehab
Now that the dvb core is capable of registering devices via the media controller, add support for the DVB frontend devices. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 2cf30576bf39..2564422278df 100644 ---

[PATCHv4 16/25] [media] cx25840: fill the media controller entity

2015-02-13 Thread Mauro Carvalho Chehab
Instead of keeping the media controller entity not initialized, fill it and create the pads for cx25840. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/i2c/cx25840/cx25840-core.c b/drivers/media/i2c/cx25840/cx25840-core.c index 573e08826b9b..bdb5bb6b58da 100644 --- a/drivers/me

[PATCHv4 03/25] [media] Docbook: Fix documentation for media controller devnodes

2015-02-13 Thread Mauro Carvalho Chehab
The media-ctl userspace application assumes that all device nodes are uniquelly defined via major,minor, just like v4l and fb. That's ok for those types of devices, but, as we're adding support for DVB at the API, what's written there at the DocBook is wrong. So, fix it. While here, fix the size

[PATCHv4 07/25] [media] DocBook: Add tuner subdev at documentation

2015-02-13 Thread Mauro Carvalho Chehab
Now that we've added MEDIA_ENT_T_V4L2_SUBDEV_TUNER at the API, document it. Signed-off-by: Mauro Carvalho Chehab diff --git a/Documentation/DocBook/media/v4l/media-ioc-enum-entities.xml b/Documentation/DocBook/media/v4l/media-ioc-enum-entities.xml index 6f1b1cf172b7..cbf307f21a63 100644 --- a/D

[PATCHv4 25/25] [media] dvb_frontend: start media pipeline while thread is running

2015-02-13 Thread Mauro Carvalho Chehab
While the DVB thread is running, the media pipeline should be streaming. This should prevent any attempt of using the analog TV while digital TV is working, and vice-versa. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_front

[PATCHv4 06/25] [media] media: add a subdev type for tuner

2015-02-13 Thread Mauro Carvalho Chehab
Add MEDIA_ENT_T_V4L2_SUBDEV_TUNER to represent the V4L2 (and dvb) tuner subdevices. Signed-off-by: Mauro Carvalho Chehab diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index 4c8f26243252..52cc2a6b19b7 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h

[PATCHv4 02/25] [media] media: Fix DVB devnode representation at media controller

2015-02-13 Thread Mauro Carvalho Chehab
The previous provision for DVB media controller support were to define an ID (likely meaning the adapter number) for the DVB devnodes. This is just plain wrong. Just like V4L, DVB devices (and any other device node)) are uniquely identified via a (major, minor) tuple. This is enough to uniquely i

[PATCHv4 00/25] dvb core: add basic support for the media controller

2015-02-13 Thread Mauro Carvalho Chehab
This patch series adds basic support for the media controller at the DVB core: it creates one media entity per DVB devnode, if the media device is passed as an argument to the DVB structures. The cx231xx driver was modified to pass such argument for DVB NET, DVB frontend and DVB demux. - versio

[PATCHv4 18/25] [media] cx231xx: create media links for analog mode

2015-02-13 Thread Mauro Carvalho Chehab
Now that we have entities and pads, let's create media links between them, for analog setup. We may not have all the links for digital yet, as the dvb extention may not be loaded yet. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/usb/cx231xx/cx231xx-cards.c b/drivers/media/us

[PATCHv4 17/25] [media] cx231xx: initialize video/vbi pads

2015-02-13 Thread Mauro Carvalho Chehab
Both video and vbi are sink pads. Initialize them as such. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index ecea76fe07f6..f3d1a488dfa7 100644 --- a/drivers/media/usb/cx231xx/cx231xx-video.c +++ b/driver

[PATCHv4 11/25] [media] dmxdev: add support for demux/dvr nodes at media controller

2015-02-13 Thread Mauro Carvalho Chehab
Make the dvb core demux support aware of the media controller and register the corresponding devices. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c index abff803ad69a..2835924955a4 100644 --- a/drivers/media/dvb-core/dmxdev.c

[PATCHv4 13/25] [media] dvb_net: add support for DVB net node at the media controller

2015-02-13 Thread Mauro Carvalho Chehab
Make the dvb core network support aware of the media controller and register the corresponding devices. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index 686d3277dad1..40990058b4bc 100644 --- a/drivers/media/dvb-core/dvb_n

[PATCHv4 01/25] [media] ir-hix5hd2: remove writel/readl_relaxed define

2015-02-13 Thread Mauro Carvalho Chehab
From: Zhangfei Gao Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed accessor macros as conditional wrappers") has added {read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h Signed-off-by: Zhangfei Gao Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/rc/ir-hix5hd2

[PATCHv4 21/25] [media] cx231xx: create DVB graph

2015-02-13 Thread Mauro Carvalho Chehab
cx231xx is simple with regards to DVB: all boards have just one DVB adapter. So, we can use the default DVB helper function to create the DVB media graph. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c b/drivers/media/usb/cx231xx/cx231xx-dvb.c index bb

[PATCHv4 09/25] [media] cx231xx: add media controller support

2015-02-13 Thread Mauro Carvalho Chehab
Let's add media controller support for this driver and register it for both V4L and DVB. The media controller on this driver is not mandatory, as it can fully work without it. So, if the media controller register fails, just print an error message, but proceed with device registering. Signed-off-

[PATCHv4 12/25] [media] dvb_ca_en50221: add support for CA node at the media controller

2015-02-13 Thread Mauro Carvalho Chehab
Make the dvb core CA support aware of the media controller and register the corresponding devices. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb-core/dvb_ca_en50221.c index 0aac3096728e..2bf28eb97a64 100644 --- a/drivers/media/dvb-

[PATCHv4 23/25] [media] dvb-frontend: enable tuner link when the FE thread starts

2015-02-13 Thread Mauro Carvalho Chehab
If the dvb frontend thread starts, the tuner should be switched to the frontend. Add a code that ensures that this will happen, using the media controller. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 25644

[PATCHv4 24/25] [media] cx231xx: enable tuner->decoder link at videobuf start

2015-02-13 Thread Mauro Carvalho Chehab
The tuner->decoder needs to be enabled when we're about to start streaming. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index f3d1a488dfa7..634763535d60 100644 --- a/drivers/media/usb/cx231xx/cx231xx-vid

[PATCHv4 15/25] [media] tuner-core: properly initialize media controller subdev

2015-02-13 Thread Mauro Carvalho Chehab
Properly initialize tuner core subdev at the media controller. That requires a new subtype at the media controller API. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/v4l2-core/tuner-core.c b/drivers/media/v4l2-core/tuner-core.c index 559f8372e2eb..9a83b27a7e8f 100644 --- a/dr

[PATCHv4 05/25] [media] DocBook: Document the DVB API devnodes at the media controller

2015-02-13 Thread Mauro Carvalho Chehab
The DVB API is actually several different APIs bundled together, each using its own device node. Fix the media controller DVB API to actually reflect what's there at the DVB subsystem. Signed-off-by: Mauro Carvalho Chehab diff --git a/Documentation/DocBook/media/v4l/media-ioc-enum-entities.xml

[PATCHv4 19/25] [media] dvbdev: represent frontend with two pads

2015-02-13 Thread Mauro Carvalho Chehab
While on some devices the tuner is bound inside the frontend, other devices use a separate subdevice for it. So, in order to be more generic, better to map it with two pads. That will allows to use the media controller to lock the tuner between the DVB and the V4L2 sub-drivers, on hybrid devices.

[PATCH] sh_vou: fix memory leak on error paths in sh_vou_open()

2015-02-13 Thread Alexey Khoroshilov
Memory allocated for sh_vou_file is not deallocated on error paths in sh_vou_open(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/platform/sh_vou.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/

[PATCH] dvb-usb: add support for the media controller at USB driver

2015-02-13 Thread Rafael Lourenço de Lima Chehab
Create a struct media_device and add it to the dvb adapter. Please notice that the tuner is not mapped yet by the dvb core. Signed-off-by: Rafael Lourenço de Lima Chehab --- drivers/media/usb/dvb-usb/dvb-usb-dvb.c | 58 + drivers/media/usb/dvb-usb/dvb-usb.h |

warning: (VIDEO_PVRUSB2 && ..) selects VIDEO_TUNER which has unmet direct dependencies (MEDIA_SUPPORT && ..)

2015-02-13 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c7d7b98671552abade78834c522b7308bda73c0d commit: 3f7a3f6ecf3f8bb144617a190aef3e0dd258078d [media] tlg2300: remove deprecated staging driver date: 2 weeks ago config: i386-randconfig-x0-02140427 (attached as .

Re: [PATCH] media: Pinnacle 73e infrared control stopped working since kernel 3.17

2015-02-13 Thread David Cimbůrek
2015-02-12 22:57 GMT+01:00 Luis de Bethencourt : > On Thu, Feb 12, 2015 at 06:34:40PM +0100, David Cimbůrek wrote: >> 2015-02-12 12:50 GMT+01:00 Mauro Carvalho Chehab : >> > Em Wed, 11 Feb 2015 17:41:01 +0100 >> > David Cimbůrek escreveu: >> > >> > Please don't top post. I reordered the messages b

Re: [REGRESSION] media: cx23885 broken by commit 453afdd "[media] cx23885: convert to vb2"

2015-02-13 Thread Jurgen Kramer
Hi, On Fri, 2015-02-13 at 17:42 +0100, Hans Verkuil wrote: > On 02/13/2015 05:14 PM, Jurgen Kramer wrote: > > Hi, > > > > On Fri, 2015-02-13 at 10:12 +0100, Hans Verkuil wrote: > >> Hi Jurgen, > >> > >> On 02/04/2015 06:21 PM, Jurgen Kramer wrote: > >>> On Wed, 2015-02-04 at 17:19 +0100, Hans Ver

Re: [REGRESSION] media: cx23885 broken by commit 453afdd "[media] cx23885: convert to vb2"

2015-02-13 Thread Hans Verkuil
On 02/13/2015 05:14 PM, Jurgen Kramer wrote: > Hi, > > On Fri, 2015-02-13 at 10:12 +0100, Hans Verkuil wrote: >> Hi Jurgen, >> >> On 02/04/2015 06:21 PM, Jurgen Kramer wrote: >>> On Wed, 2015-02-04 at 17:19 +0100, Hans Verkuil wrote: On 02/04/2015 05:06 PM, Jurgen Kramer wrote: > Hi Hans,

Re: [REGRESSION] media: cx23885 broken by commit 453afdd "[media] cx23885: convert to vb2"

2015-02-13 Thread Jurgen Kramer
Hi Hans, On Fri, 2015-02-13 at 10:24 +0100, Hans Verkuil wrote: > Jurgen, Raimond, > > On 02/13/2015 10:12 AM, Hans Verkuil wrote: > > Hi Jurgen, > > > > On 02/04/2015 06:21 PM, Jurgen Kramer wrote: > >> On Wed, 2015-02-04 at 17:19 +0100, Hans Verkuil wrote: > >>> On 02/04/2015 05:06 PM, Jurgen

Re: [REGRESSION] media: cx23885 broken by commit 453afdd "[media] cx23885: convert to vb2"

2015-02-13 Thread Jurgen Kramer
Hi, On Fri, 2015-02-13 at 10:12 +0100, Hans Verkuil wrote: > Hi Jurgen, > > On 02/04/2015 06:21 PM, Jurgen Kramer wrote: > > On Wed, 2015-02-04 at 17:19 +0100, Hans Verkuil wrote: > >> On 02/04/2015 05:06 PM, Jurgen Kramer wrote: > >>> Hi Hans, > >>> > >>> On Mon, 2015-02-02 at 10:36 +0100, Hans

DVBSky S960 drivers fro Raspberry Pi Kernel 3.18.5+

2015-02-13 Thread Michael Höhl
Hello, I have an Raspberry Pi with the OS Raspbian installed. Currently I'm using the Kernel 3.18.5+ and I'm trying to install the driver for the DVBSky S960. I tried all packages without any success. Do you have an Media Build Package for an Raspberry Pi with this Kernel Version? Or Can you give

Re: [PATCH v2 1/3] media/videobuf2-dma-sg: Fix handling of sg_table structure

2015-02-13 Thread Ricardo Ribalda Delgado
Hello all On Fri, Feb 13, 2015 at 4:32 PM, Hans Verkuil wrote: > Yes please. And if Ricardo is correct, then someone (janitor job?) should do > a review of dma_unmap_sg in particular. Perhaps a code snippet inside scatterlist.h will clarify even more. Would any of the maintainers accept a patc

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Shuah Khan
On Fri, Feb 13, 2015 at 8:34 AM, Shuah Khan wrote: > On Fri, Feb 13, 2015 at 8:12 AM, Takashi Iwai wrote: >> At Fri, 13 Feb 2015 12:41:25 -0200, >> Mauro Carvalho Chehab wrote: >>> >>> Em Fri, 13 Feb 2015 15:02:42 +0100 >>> Takashi Iwai escreveu: >>> >>> > At Mon, 09 Feb 2015 11:59:07 +0100, >>>

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Shuah Khan
On Fri, Feb 13, 2015 at 8:12 AM, Takashi Iwai wrote: > At Fri, 13 Feb 2015 12:41:25 -0200, > Mauro Carvalho Chehab wrote: >> >> Em Fri, 13 Feb 2015 15:02:42 +0100 >> Takashi Iwai escreveu: >> >> > At Mon, 09 Feb 2015 11:59:07 +0100, >> > Takashi Iwai wrote: >> > > >> > > Hi, >> > > >> > > we've g

Re: [PATCH v2 1/3] media/videobuf2-dma-sg: Fix handling of sg_table structure

2015-02-13 Thread Hans Verkuil
On 02/13/2015 04:20 PM, Ricardo Ribalda Delgado wrote: > Hello Hans > > On Fri, Feb 13, 2015 at 4:02 PM, Hans Verkuil wrote: >> Hi Ricardo, Marek, >> >> I have a few questions, mostly to improve my own understanding. >> >> First of all, is this solving an actual bug for you, or did you just find

Re: [PATCH v2 1/3] media/videobuf2-dma-sg: Fix handling of sg_table structure

2015-02-13 Thread Ricardo Ribalda Delgado
Hello Hans On Fri, Feb 13, 2015 at 4:02 PM, Hans Verkuil wrote: > Hi Ricardo, Marek, > > I have a few questions, mostly to improve my own understanding. > > First of all, is this solving an actual bug for you, or did you just find > it while reviewing code? And if it solves a bug, then which arch

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Takashi Iwai
At Fri, 13 Feb 2015 12:41:25 -0200, Mauro Carvalho Chehab wrote: > > Em Fri, 13 Feb 2015 15:02:42 +0100 > Takashi Iwai escreveu: > > > At Mon, 09 Feb 2015 11:59:07 +0100, > > Takashi Iwai wrote: > > > > > > Hi, > > > > > > we've got a bug report about the suspend/resume regression of DVB > > >

Re: [PATCH v2 1/3] media/videobuf2-dma-sg: Fix handling of sg_table structure

2015-02-13 Thread Hans Verkuil
Hi Ricardo, Marek, I have a few questions, mostly to improve my own understanding. First of all, is this solving an actual bug for you, or did you just find it while reviewing code? And if it solves a bug, then which architecture are you using? ARM? Intel? On 02/11/2015 11:33 AM, Ricardo Ribalda

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Feb 2015 15:02:42 +0100 Takashi Iwai escreveu: > At Mon, 09 Feb 2015 11:59:07 +0100, > Takashi Iwai wrote: > > > > Hi, > > > > we've got a bug report about the suspend/resume regression of DVB > > device with 3.19. The symptom is VLC doesn't work after S3 or S4 > > resume. strace s

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Takashi Iwai
At Mon, 09 Feb 2015 11:59:07 +0100, Takashi Iwai wrote: > > Hi, > > we've got a bug report about the suspend/resume regression of DVB > device with 3.19. The symptom is VLC doesn't work after S3 or S4 > resume. strace shows that /dev/dvb/adaptor0/dvr returns -ENODEV. > > The reporter confirmed

Patch to add a timestamping and version option to femon

2015-02-13 Thread Daniel Lord
Hi, as I have been in need for a monitoring tool, to check the (in)stability of my SAT-DVB setup I came across femon of dvb-apps. As it doesn't has a timestamp option I haven't been able to correlate the outage of video with a signal reported by femon easily. Therefore please find attached a patc

Re: [PATCH v3] dvb-core: add template code for i2c binding model

2015-02-13 Thread Akihiro TSUKADA
Moikka, thank you for the comment. (and sorry for the late reply. I was off from work until recently.) > Basically the issue is registering I2C driver and after that reference > counting it as there is dvb frontend ops which are called. In current DVB drivers, "struct dvb_frontend"s can be alloc

[PATCH 7/7] DocBook media: document the new 'which' field.

2015-02-13 Thread Hans Verkuil
From: Hans Verkuil The subdev enum ioctls now have a new 'which' field. Document this. Signed-off-by: Hans Verkuil --- .../DocBook/media/v4l/vidioc-subdev-enum-frame-interval.xml | 13 + .../DocBook/media/v4l/vidioc-subdev-enum-frame-size.xml | 13 + .../DocBook/med

[PATCH 6/7] v4l2-subdev: remove enum_framesizes/intervals

2015-02-13 Thread Hans Verkuil
From: Hans Verkuil Replace the video ops enum_framesizes and enum_frameintervals by the pad ops enum_frame_size and enum_frame_interval. The video and pad ops are duplicates, so get rid of the more limited video op. The whole point of the subdev API is to allow reuse of subdev drivers by bridge

[PATCH 5/7] v4l2-subdev: add support for the new enum_frame_size 'which' field.

2015-02-13 Thread Hans Verkuil
From: Hans Verkuil Support the new 'which' field in the enum_frame_size ops. Most drivers do not need to be changed since they always returns the same enumeration regardless of the 'which' field. Signed-off-by: Hans Verkuil Cc: Lad, Prabhakar Cc: Sylwester Nawrocki --- drivers/media/i2c/s5c7

[PATCH 4/7] v4l2-subdev: support new 'which' field in enum_mbus_code

2015-02-13 Thread Hans Verkuil
From: Hans Verkuil Support the new 'which' field in the enum_mbus_code ops. Most drivers do not need to be changed since they always returns the same enumeration regardless of the 'which' field. Signed-off-by: Hans Verkuil --- drivers/media/platform/omap3isp/ispccdc.c| 4 ++-- drivers/medi

[PATCH 3/7] v4l2-subdev.c: add 'which' checks for enum ops.

2015-02-13 Thread Hans Verkuil
From: Hans Verkuil Return an error if an invalid 'which' valid is passed in. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-subdev.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c in

[PATCH 2/7] v4l2-subdev.h: add 'which' field for the enum structs

2015-02-13 Thread Hans Verkuil
From: Hans Verkuil While all other pad ops allow you to select whether to use the 'try' or the 'active' formats, the enum ops didn't have that option and always used 'try'. However, this will fail if a simple (e.g. PCI) bridge driver wants to use the enum pad op of a subdev that's also used in a

v4l2-subdev: removal of duplicate video enum ops

2015-02-13 Thread Hans Verkuil
This patch series is based on this earlier RFC series: https://www.mail-archive.com/linux-media@vger.kernel.org/msg83415.html This patch series starts the work of removing several video ops that are duplicated in as pad ops in the subdev kernel API. This kills the whole point of the subdev API wh

[PATCH] DocBook media: fix validation error

2015-02-13 Thread Hans Verkuil
doesn't understand the 'border' attribute. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/pixfmt-srggb10p.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/pixfmt-srggb10p.xml b/Documentation/DocBook/media/v4l/pixfmt-srggb1

[GIT FIXES FOR v3.20] Fix USERPTR buffers for vb2 dma-contig mem type

2015-02-13 Thread Sakari Ailus
Hi Mauro, This single patch fixes setting the write parameter to 1 for get_user_pages() on writable buffers. Without this using USERPTR buffers with the dma-contig mem type will corrupt system memory. This is directly applicable to fixes and master branches and should be pulled into both. The fo

Re: [REGRESSION] media: cx23885 broken by commit 453afdd "[media] cx23885: convert to vb2"

2015-02-13 Thread Hans Verkuil
Jurgen, Raimond, On 02/13/2015 10:12 AM, Hans Verkuil wrote: > Hi Jurgen, > > On 02/04/2015 06:21 PM, Jurgen Kramer wrote: >> On Wed, 2015-02-04 at 17:19 +0100, Hans Verkuil wrote: >>> On 02/04/2015 05:06 PM, Jurgen Kramer wrote: Hi Hans, On Mon, 2015-02-02 at 10:36 +0100, Hans Ver

Re: [REGRESSION] media: cx23885 broken by commit 453afdd "[media] cx23885: convert to vb2"

2015-02-13 Thread Hans Verkuil
Hi Jurgen, On 02/04/2015 06:21 PM, Jurgen Kramer wrote: > On Wed, 2015-02-04 at 17:19 +0100, Hans Verkuil wrote: >> On 02/04/2015 05:06 PM, Jurgen Kramer wrote: >>> Hi Hans, >>> >>> On Mon, 2015-02-02 at 10:36 +0100, Hans Verkuil wrote: Raimonds and Jurgen, Can you both test with th

Re: [REVIEW PATCH FOR v3.19 1/1] vb2: Fix dma_dir setting for dma-contig mem type

2015-02-13 Thread Hans Verkuil
On 02/13/2015 08:42 AM, Sakari Ailus wrote: > The last argument of vb2_dc_get_user_pages() is of type enum > dma_data_direction, but the caller, vb2_dc_get_userptr() passes a value > which is the result of comparison dma_dir == DMA_FROM_DEVICE. This results > in the write parameter to get_user_page

[PATCH] [media] staging: dt3155v4l: Switch to using managed resource with devm_

2015-02-13 Thread Kiran Padwal
This patch uses managed resource APIs to allocate memory in order to simplify the driver unload or failure cases Signed-off-by: Kiran Padwal --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/staging/media/d

Re: [REVIEW PATCH FOR v3.19 1/1] vb2: Fix dma_dir setting for dma-contig mem type

2015-02-13 Thread Sakari Ailus
On Fri, Feb 13, 2015 at 09:42:37AM +0200, Sakari Ailus wrote: > The last argument of vb2_dc_get_user_pages() is of type enum > dma_data_direction, but the caller, vb2_dc_get_userptr() passes a value > which is the result of comparison dma_dir == DMA_FROM_DEVICE. This results > in the write paramete