[PATCH] [media] lmedm04: Neaten logging

2015-05-25 Thread Joe Perches
Use a more current logging style. o Use pr_fmt o Add missing newlines to formats o Remove used-once lme_debug macro incorporating it into dbg_info o Remove unnecessary allocation error messages o Remove unnecessary semicolons from #defines o Remove info macro and convert uses to pr_info o Fix spel

[GIT PULL FOR v4.2] cobalt fixes and sparse/compiler warning fixes

2015-05-25 Thread Hans Verkuil
The following changes since commit 2a80f296422a01178d0a993479369e94f5830127: [media] dvb-core: fix 32-bit overflow during bandwidth calculation (2015-05-20 14:01:46 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git cobalt-fixes for you to fetch change

Re: [PATCHv3 1/2] ARM: dts: exynos5420: add nodes for jpeg codec

2015-05-25 Thread Krzysztof Kozlowski
2015-03-09 21:32 GMT+09:00 Andrzej Pietrasiewicz : > Add nodes for jpeg codec in Exynos5420 SoC. > > Signed-off-by: Andrzej Pietrasiewicz > --- > arch/arm/boot/dts/exynos5420.dtsi | 16 > 1 file changed, 16 insertions(+) Acked-by: Krzysztof Kozlowski The patch adding bindings

[GIT PULL FOR v4.2] uvcvideo fixes

2015-05-25 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 2a80f296422a01178d0a993479369e94f5830127: [media] dvb-core: fix 32-bit overflow during bandwidth calculation (2015-05-20 14:01:46 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git uvc/next for you to fetch cha

Re: [PATCH v2] au0828: Add support for media controller

2015-05-25 Thread Hans Verkuil
Hi Rafael, Thank you for the patch! I do have some comments, though, see below... On 05/19/2015 04:16 AM, Rafael Lourenço de Lima Chehab wrote: > Add support for analog and dvb tv using media controller > > Signed-off-by: Rafael Lourenço de Lima Chehab > --- > v2:cleanups > drivers/media/dvb-

Re: [PATCH v2] v4l: subdev: Add pad config allocator and init

2015-05-25 Thread Laurent Pinchart
Hi Hans, On Monday 25 May 2015 00:25:36 Hans Verkuil wrote: > On 05/24/2015 11:10 PM, Laurent Pinchart wrote: > > From: Laurent Pinchart > > > > Add a new subdev operation to initialize a subdev pad config array, and > > a helper function to allocate and initialize the array. This can be used >

Re: [PATCH 0/4] [sur40] minor fixes & performance improvements

2015-05-25 Thread Hans Verkuil
Hi Florian, On 05/21/2015 02:29 PM, Florian Echtler wrote: > This patch series adds several small fixes, features & performance > improvements. Many thanks to Martin Kaltenbrunner for testing the > original driver & submitting the patches. > > Martin Kaltenbrunner (4): > reduce poll interval t

Re: [PATCH 08/20] media: soc_camera pad-aware driver initialisation

2015-05-25 Thread Laurent Pinchart
Hi Hans, On Monday 25 May 2015 00:43:25 Hans Verkuil wrote: > On 05/24/2015 11:50 PM, Laurent Pinchart wrote: > > On Sunday 24 May 2015 10:08:15 Hans Verkuil wrote: > >> On 05/23/2015 08:32 PM, Laurent Pinchart wrote: > >>> On Thursday 21 May 2015 07:55:10 Hans Verkuil wrote: > On 05/20/2015

Re: [PATCH 0/9 v5] Helper to abstract vma handling in media layer

2015-05-25 Thread Hans Verkuil
Hi Jan, On 05/13/2015 03:08 PM, Jan Kara wrote: > Hello, > > I'm sending the fifth version of my patch series to abstract vma handling > from the various media drivers. The patches got some review from mm people and > testing from device driver guys so unless someone objects, patches will be >

Re: [PATCH 0/4] [sur40] minor fixes & performance improvements

2015-05-25 Thread Florian Echtler
On 25.05.2015 13:22, Hans Verkuil wrote: > On 05/21/2015 02:29 PM, Florian Echtler wrote: >> This patch series adds several small fixes, features & performance >> improvements. Many thanks to Martin Kaltenbrunner for testing the >> original driver & submitting the patches. > > The patches look go

Re: [PATCH 0/4] [sur40] minor fixes & performance improvements

2015-05-25 Thread Hans Verkuil
On 05/25/2015 01:38 PM, Florian Echtler wrote: > On 25.05.2015 13:22, Hans Verkuil wrote: >> On 05/21/2015 02:29 PM, Florian Echtler wrote: >>> This patch series adds several small fixes, features & performance >>> improvements. Many thanks to Martin Kaltenbrunner for testing the >>> original drive

Re: [PATCH v2] v4l: subdev: Add pad config allocator and init

2015-05-25 Thread Hans Verkuil
On 05/25/2015 01:21 PM, Laurent Pinchart wrote: > Hi Hans, > > On Monday 25 May 2015 00:25:36 Hans Verkuil wrote: >> On 05/24/2015 11:10 PM, Laurent Pinchart wrote: >>> From: Laurent Pinchart >>> >>> Add a new subdev operation to initialize a subdev pad config array, and >>> a helper function to

Re: [PATCH v8 8/8] DT: samsung-fimc: Add examples for samsung,flash-led property

2015-05-25 Thread Sylwester Nawrocki
Hi, On 23/05/15 14:03, Sakari Ailus wrote: > On Thu, May 21, 2015 at 03:28:40PM +0200, Sylwester Nawrocki wrote: >> flash-leds = <&flash_xx &image_sensor_x>, <...>; > > One more matter to consider: xenon flash devices. > > How about samsung,camera-flashes (and ti,camera-flashes)? After pondering

[GIT PULL FOR v4.2] More fixes

2015-05-25 Thread Hans Verkuil
This patch series merges various fixes and improves colorspace support. It also contains the Y16_BE patches which were not merged the previous time for no clear reason, and my patch updating the querycap error code description, this time with a better commit log explaining why we cannot say for c

[PATCHv2 0/4] [sur40] minor fixes & performance improvements

2015-05-25 Thread Florian Echtler
This patch series adds several small fixes, features & performance improvements. Many thanks to Martin Kaltenbrunner for testing the original driver & submitting the patches. Martin Kaltenbrunner (4): reduce poll interval to allow full 60 FPS framerate add frame size/frame rate query function

[PATCHv2 1/4] reduce poll interval to allow full 60 FPS framerate

2015-05-25 Thread Florian Echtler
The SUR40 hardware can deliver images at up to 60 FPS; at full USB2 bandwidth, one raw frame will take about 11 ms to transmit. If the poll interval is above 5 ms, fully handling one frame will take longer than 16 ms and the overall frame rate will drop below 60 FPS. To get the full frame rate wit

[PATCHv2 2/4] add frame size/frame rate query functions

2015-05-25 Thread Florian Echtler
Add missing functions to query the single fixed frame size (960x540) and supported frame rates. Technically, the SUR40 supports any arbitrary frame rate up to 60 FPS, as it is polled and not interrupt-driven. For now, we just report 30 and 60 FPS, which is sufficient to make most V4L2 tools work.

[PATCHv2 3/4] add extra debug output, remove noisy warning

2015-05-25 Thread Florian Echtler
Add dev_dbg statements for easier future debugging; also change the warning about packet ID mismatches to debug output to avoid flooding the logs. This warning is only important in a very specific/rare use case when trying to correlate input events with video data. Signed-off-by: Martin Kaltenbrun

[PATCHv2 4/4] return BUF_STATE_ERROR if streaming stopped during acquisition

2015-05-25 Thread Florian Echtler
When stop_streaming is called while a frame is currently being retrieved, the buffer being filled will still be returned with BUF_STATE_DONE. By resetting the sequence number and checking before returning the buffer, it can now correctly be returned with BUF_STATE_ERROR. Signed-off-by: Martin Kalt

[GIT PULL FOR v4.2] Various fixes

2015-05-25 Thread Hans Verkuil
The following changes since commit 2a80f296422a01178d0a993479369e94f5830127: [media] dvb-core: fix 32-bit overflow during bandwidth calculation (2015-05-20 14:01:46 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.2l for you to fetch changes u

Re: Access to MPEG-TS?

2015-05-25 Thread Steven Toth
On Sun, May 24, 2015 at 7:25 PM, wrote: > Hello, > > I'm working on an application that - among other things - should be able to > identify the programs in a MPEG transport stream broadcasted via DVB-C. This > is what I have figured out so far: > > 1. Open the DVB frontend. > 2. Fill struct dvb_f

Re: [PATCH v8 8/8] DT: samsung-fimc: Add examples for samsung,flash-led property

2015-05-25 Thread Jacek Anaszewski
Hi, On 05/25/2015 02:00 PM, Sylwester Nawrocki wrote: Hi, On 23/05/15 14:03, Sakari Ailus wrote: On Thu, May 21, 2015 at 03:28:40PM +0200, Sylwester Nawrocki wrote: flash-leds = <&flash_xx &image_sensor_x>, <...>; One more matter to consider: xenon flash devices. How about samsung,camera-f

Re: [PATCH 03/20] media: adv7604: chip info and formats for ADV7612

2015-05-25 Thread Guennadi Liakhovetski
Hi William, Just a nitpick: On Wed, 20 May 2015, William Towle wrote: > Add support for the ADV7612 chip as implemented on Renesas' Lager > board to adv7604.c, including lists for formats/colourspace/timing > selection and an IRQ handler. > > Signed-off-by: William Towle > --- > drivers/media

Re: [PATCH 0/9 v5] Helper to abstract vma handling in media layer

2015-05-25 Thread Jan Kara
On Mon 25-05-15 13:37:56, Hans Verkuil wrote: > Hi Jan, > > On 05/13/2015 03:08 PM, Jan Kara wrote: > > Hello, > > > > I'm sending the fifth version of my patch series to abstract vma handling > > from the various media drivers. The patches got some review from mm people > > and > > testing fr

Re: [PATCH 07/20] media: soc_camera: rcar_vin: Add BT.709 24-bit RGB888 input support

2015-05-25 Thread Guennadi Liakhovetski
Hi William, How about this version of this patch: https://patchwork.linuxtv.org/patch/28098/ ? I personally like that one better, it seems clearer to me. This one first sets a bit to vnmp, then make another check and inverts it, whereas that version clearly sets it just for equal colour-spaces

Re: [PATCH v8 8/8] DT: samsung-fimc: Add examples for samsung,flash-led property

2015-05-25 Thread Sylwester Nawrocki
On 25/05/15 14:50, Jacek Anaszewski wrote: >> On 23/05/15 14:03, Sakari Ailus wrote: >>> >> On Thu, May 21, 2015 at 03:28:40PM +0200, Sylwester Nawrocki wrote: >>> flash-leds = <&flash_xx &image_sensor_x>, <...>; >>> >> >>> >> One more matter to consider: xenon flash devices. >>> >> >>> >> How

[GIT PULL FOR v4.2] Helper to abstract vma handling in media layer

2015-05-25 Thread Hans Verkuil
This pull request merged Jan's vb2/mm patches to abstract vma handling. See http://www.spinics.net/lists/linux-media/msg89653.html for more info. Regards, Hans The following changes since commit 2a80f296422a01178d0a993479369e94f5830127: [media] dvb-core: fix 32-bit overflow during ba

Re: [PATCH 13/20] media: soc_camera: v4l2-compliance fixes for querycap

2015-05-25 Thread Guennadi Liakhovetski
Hi William, On Wed, 20 May 2015, William Towle wrote: > Fill in bus_info field and zero reserved field. > > Signed-off-by: Rob Taylor If you're the author and the submitter of this patch, why is Rob's Sob here needed? Or is he the author? Thanks Guennadi > Reviewed-by: William Towle > ---

Re: [PATCH 14/20] media: rcar_vin: Reject videobufs that are too small for current format

2015-05-25 Thread Guennadi Liakhovetski
On Wed, 20 May 2015, William Towle wrote: > In videobuf_setup reject buffers that are too small for the configured > format. Fixes v4l2-complience issue. > > Signed-off-by: Rob Taylor > Reviewed-by: William Towle Ditto: why Rob's Sob if you're the author? Thanks Guennadi > --- > drivers/med

Re: [PATCH 16/20] media: adv7180: Fix set_pad_format() passing wrong format

2015-05-25 Thread Guennadi Liakhovetski
On Wed, 20 May 2015, William Towle wrote: > Return a usable format (and resolution) from adv7180_set_pad_format() > in the TRY_FORMAT case > > Signed-off-by: Rob Taylor > Tested-by: William Towle Author? > --- > drivers/media/i2c/adv7180.c |6 -- > 1 file changed, 4 insertions(+), 2

[PATCH v9 8/8] exynos4-is: Add support for v4l2-flash subdevs

2015-05-25 Thread Jacek Anaszewski
This patch adds support for external v4l2-flash devices. The support includes parsing "camera-flashes" DT property and asynchronous sub-device registration. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- drivers/media/platform/exynos4-is/media-dev.c | 64 +

[PATCH v9 7/8] DT: Add documentation for exynos4-is 'flashes' property

2015-05-25 Thread Jacek Anaszewski
This patch adds a description of 'samsung,camera-flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki --- .../devicetree/bindings/media/samsung-fimc.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Do

[PATCH v9 2/8] media: Add registration helpers for V4L2 flash sub-devices

2015-05-25 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be used

[PATCH v9 1/8] Documentation: leds: Add description of v4l2-flash sub-device

2015-05-25 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Richard Purdie --- Documentation/leds/leds-class-flash.txt | 50 +++ 1 file changed, 50 insert

[PATCH v9 6/8] exynos4-is: Improve the mechanism of async subdevs verification

2015-05-25 Thread Jacek Anaszewski
Avoid verifying bound async sensor sub-devices by their of_nodes, which duplicates v4l2-async functionality, in favour of matching them by the corresponding struct v4l2_async_subdev. The structures are now being aggregated in the newly introduced struct fimc_async_subdevs which allows for categoriz

[PATCH v9 3/8] leds: max77693: add support for V4L2 Flash sub-device

2015-05-25 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus --- drivers/l

[PATCH v9 0/8] LED / flash API integration

2015-05-25 Thread Jacek Anaszewski
This is ninth non-RFC version of LED / flash API integration series [1]. It is based on linux_next-20150519 with patch [2]. Changes since v8 - switched from samsung,flash-leds to samsun,camera-flashes DT property - improved async sub-devices matching for exynos4-i

[PATCH v9 4/8] DT: aat1290: Document handling external strobe sources

2015-05-25 Thread Jacek Anaszewski
This patch adds documentation for a pinctrl-names property. The property, when present, is used for switching the source of the strobe signal for the device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus Cc: devicet...@vger.kernel.org

[PATCH v9 5/8] leds: aat1290: add support for V4L2 Flash sub-device

2015-05-25 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie Cc: Sakari Ailus --- drivers/le

Re: [PATCH 17/20] media: adv7604: Support V4L_FIELD_INTERLACED

2015-05-25 Thread Guennadi Liakhovetski
On Wed, 20 May 2015, William Towle wrote: > When hardware reports interlaced input, correctly set field to > V4L_FIELD_INTERLACED ini adv76xx_fill_format. > > Signed-off-by: Rob Taylor > Reviewed-by: William Towle > --- > drivers/media/i2c/adv7604.c |7 ++- > 1 file changed, 6 insertio

Re: [PATCH v8 8/8] DT: samsung-fimc: Add examples for samsung,flash-led property

2015-05-25 Thread Jacek Anaszewski
On 05/25/2015 04:28 PM, Sylwester Nawrocki wrote: On 25/05/15 14:50, Jacek Anaszewski wrote: On 23/05/15 14:03, Sakari Ailus wrote: On Thu, May 21, 2015 at 03:28:40PM +0200, Sylwester Nawrocki wrote: flash-leds = <&flash_xx &image_sensor_x>, <...>; One more matter to consider: xenon flash de

Re: [PATCH 20/20] media: soc_camera: Add debugging for get_formats

2015-05-25 Thread Guennadi Liakhovetski
Hi William, In principle, we could add these or a bunch of other "useful" debugging prints, but mostly they are are "one-off" - you used them for your debugging, then you throw them away until the next time. Do you really find them so valuable? Usually when a new code fragment is added, it can

[PATCH 0/3] davinci_vpfe: minor cleanups

2015-05-25 Thread Lad Prabhakar
From: "Lad, Prabhakar" Hi Hans, These patch series includes minor cleanups for davinci vpfe driver. Lad, Prabhakar (3): media: davinci_vpfe: clear the output_specs media: davinci_vpfe: set minimum required buffers to three media: davinci_vpfe: use monotonic timestamp drivers/staging/med

[PATCH 1/3] media: davinci_vpfe: clear the output_specs

2015-05-25 Thread Lad Prabhakar
From: "Lad, Prabhakar" clear of the output_specs before passing it to the configure_resizer_out_params(), so that no garbage values are set. This fixes following build warning: drivers/staging/media/davinci_vpfe/dm365_resizer.c: In function 'resizer_set_stream': drivers/staging/media/davinci_vp

[PATCH 3/3] media: davinci_vpfe: use monotonic timestamp

2015-05-25 Thread Lad Prabhakar
From: "Lad, Prabhakar" V4L2 drivers should use MONOTONIC timestamps instead of gettimeofday, which is affected by daylight savings time. Signed-off-by: Lad, Prabhakar --- drivers/staging/media/davinci_vpfe/vpfe_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH 2/3] media: davinci_vpfe: set minimum required buffers to three

2015-05-25 Thread Lad Prabhakar
From: "Lad, Prabhakar" this patch sets nbuffers to three or more and drops the unset member video_limit which just a copy paste from earlier driver. Signed-off-by: Lad, Prabhakar --- drivers/staging/media/davinci_vpfe/vpfe_mc_capture.h | 2 -- drivers/staging/media/davinci_vpfe/vpfe_video.c

Re: [PATCH v2 1/3] media: atmel-isi: remove the useless code which disable isi

2015-05-25 Thread Guennadi Liakhovetski
Hi Josh, On Tue, 12 May 2015, Josh Wu wrote: > Hi, Guennadi > > On 5/12/2015 4:16 AM, Guennadi Liakhovetski wrote: > > Hi Josh, > > > > Thanks for the patch. I'm afraid I don't quite understand why it is > > needed, could you maybe explain a bit more? Is it because > > > > (1) during ISI confi

Re: [PATCH 19/20] media: rcar_vin: Clean up format debugging statements

2015-05-25 Thread Guennadi Liakhovetski
Hi William, On Wed, 20 May 2015, William Towle wrote: > Pretty print fourcc and code in format debugging statements. > > Signed-off-by: Rob Taylor > Reviewed-by: William Towle > --- > drivers/media/platform/soc_camera/rcar_vin.c | 22 +++--- > 1 file changed, 15 insertions(+

Re: [PATCH v8 8/8] DT: samsung-fimc: Add examples for samsung,flash-led property

2015-05-25 Thread Sakari Ailus
Hi Sylwester, On Mon, May 25, 2015 at 04:28:22PM +0200, Sylwester Nawrocki wrote: > On 25/05/15 14:50, Jacek Anaszewski wrote: > >> On 23/05/15 14:03, Sakari Ailus wrote: > >>> >> On Thu, May 21, 2015 at 03:28:40PM +0200, Sylwester Nawrocki wrote: > >>> flash-leds = <&flash_xx &image_sensor_x

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-25 Thread Arun Ramamurthy
On 15-05-14 05:52 PM, Felipe Balbi wrote: Hi, On Wed, Apr 22, 2015 at 04:04:10PM -0700, Arun Ramamurthy wrote: Most of the phy providers use "select" to enable GENERIC_PHY. Since select is only recommended when the config is not visible, GENERIC_PHY is changed an invisible option. To maintain

cron job: media_tree daily build: ERRORS

2015-05-25 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: Tue May 26 04:00:15 CEST 2015 git branch: test git hash: 2a80f296422a01178d0a993479369e94f5830127 gcc versi

QUICK, RELIABLE & AFFORDABLE LOAN

2015-05-25 Thread Pacificwest Cash Loan
SEE DETAILS TO APPLY TODAY PACIFICWEST FINANCE CASH LOAN - SEE DETAILS TO APPLY.pdf Description: Adobe PDF document