Re: [PATCH v2 1/1] v4l: Event documentation fixes

2014-08-05 Thread Hans Verkuil
On 08/06/2014 08:52 AM, Sakari Ailus wrote: > Constify event type constants and correct motion detection event number > (it's 6, not 5). > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Regards, Hans > --- > Thanks for the review, Hans! > > Since v1: > > - No line breaks betw

Re: [PATCH/RFC v4 00/21] LED / flash API integration

2014-08-05 Thread Sakari Ailus
Hi Jacek, On Fri, Jul 11, 2014 at 04:04:03PM +0200, Jacek Anaszewski wrote: ... > 1) Who should register V4L2 Flash sub-device? > > LED Flash Class devices, after introduction of the Flash Manager, > are not tightly coupled with any media controller. They are maintained > by the Flash Manager and

[PATCH v2 1/1] v4l: Event documentation fixes

2014-08-05 Thread Sakari Ailus
Constify event type constants and correct motion detection event number (it's 6, not 5). Signed-off-by: Sakari Ailus --- Thanks for the review, Hans! Since v1: - No line breaks between and . No other changes. Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 7 --- Documentati

Re: [PATCHv3] videobuf2: fix lockdep warning

2014-08-05 Thread Hans Verkuil
On 08/06/2014 12:15 AM, Laurent Pinchart wrote: > Hi Hans, > > Thank you for the patch. > > On Tuesday 05 August 2014 12:56:14 Hans Verkuil wrote: >> Changes since v2: use a mutex instead of a spinlock due to possible sleeps >> inside the mmap memop. Use the mutex when buffers are allocated/freed

Re: [PATCH 1/1] v4l: Event documentation fixes

2014-08-05 Thread Hans Verkuil
On 08/06/2014 08:37 AM, Sakari Ailus wrote: > Constify event type constants and correct motion detection event number > (it's 6, not 5). > > Signed-off-by: Sakari Ailus > --- > Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 7 --- > Documentation/DocBook/media/v4l/vidioc-subscr

[PATCH 1/1] v4l: Event documentation fixes

2014-08-05 Thread Sakari Ailus
Constify event type constants and correct motion detection event number (it's 6, not 5). Signed-off-by: Sakari Ailus --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 7 --- Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml | 2 +- 2 files changed, 5 insertions(+), 4

[media:v4l_for_linus 393/499] tuner-core.c:undefined reference to `xc5000_attach'

2014-08-05 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus head: 0f3bf3dc1ca394a8385079a5653088672b65c5c4 commit: f5b44da1ac4146e06147a5df3058f4c265c932ec [393/499] [media] Kconfig: fix tuners build warnings config: x86_64-randconfig-s1-08061342 (attached as .config

Re: [PATCH 2/2] usbtv: add audio support

2014-08-05 Thread Lubomir Rintel
Hi, On Tue, 2014-02-04 at 06:22 -0200, Mauro Carvalho Chehab wrote: > Em Tue, 7 Jan 2014 23:13:22 +0100 > Federico Simoncelli escreveu: > > > From: Federico Simoncelli > > > > Signed-off-by: Federico Simoncelli > > Tested-by: Lubomir Rintel > > --- > > drivers/media/usb/usbtv/Makefile

[PATCH 04/15] [media] dvb: fix decimal printf format specifiers prefixed with 0x

2014-08-05 Thread Hans Wennborg
The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg --- drivers/media/dvb-frontends/mb86a16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dv

[PATCH 0/4] support for DVBSky dvb-s2 usb: add dvbsky rc keymaps include file

2014-08-05 Thread nibble.max
add dvbsky rc keymaps include file. Signed-off-by: Nibble Max --- include/media/rc-map.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/media/rc-map.h b/include/media/rc-map.h index 80f9518..e7a1514 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h @@ -135,6 +135,7 @@

[PATCH 4/4] support for DVBSky dvb-s2 usb: add dvbsky rc keymaps.

2014-08-05 Thread nibble.max
add dvbsky rc keymaps. Signed-off-by: Nibble Max --- drivers/media/rc/keymaps/Makefile| 1 + drivers/media/rc/keymaps/rc-dvbsky.c | 78 2 files changed, 79 insertions(+) diff --git a/drivers/media/rc/keymaps/Makefile b/drivers/media/rc/keymaps/Makefile

[PATCH 3/4] support for DVBSky dvb-s2 usb: add dvb-usb-v2 driver for DVBSky dvb-s2 box

2014-08-05 Thread nibble.max
add dvb-usb-v2 driver for DVBSky dvb-s2 box Signed-off-by: Nibble Max --- drivers/media/usb/dvb-usb-v2/Kconfig | 6 + drivers/media/usb/dvb-usb-v2/Makefile | 3 + drivers/media/usb/dvb-usb-v2/dvbsky.c | 872 ++ 3 files changed, 881 insertions(+) diff --git a

[PATCH 2/4] support for DVBSky dvb-s2 usb: change em28xx-dvb.c following the m88ds3103 config change

2014-08-05 Thread nibble.max
change em28xx-dvb.c following the m88ds3103 config change Signed-off-by: Nibble Max --- drivers/media/usb/em28xx/em28xx-dvb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index 3a3e243..d8e97

[PATCH 1/4] support for DVBSky dvb-s2 usb: add some config and set_voltage for m88ds3103

2014-08-05 Thread nibble.max
Add some config parameters and set_voltage function for m88ds3103. Signed-off-by: Nibble Max --- drivers/media/dvb-frontends/m88ds3103.c | 91 +++-- drivers/media/dvb-frontends/m88ds3103.h | 37 -- 2 files changed, 96 insertions(+), 32 deletions(-) diff -

cron job: media_tree daily build: WARNINGS

2014-08-05 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: Wed Aug 6 04:00:28 CEST 2014 git branch: test git hash: 0f3bf3dc1ca394a8385079a5653088672b65c5c4 gcc versi

[PATCH V3] media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm

2014-08-05 Thread Zhaowei Yuan
ctx->ctx should be released if the following allocation for ctx->shm gets failed. Signed-off-by: Zhaowei Yuan --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c b/drivers/media/platform/s5p-m

Re: [PATCH] Add support for LMH0395

2014-08-05 Thread Laurent Pinchart
Hi Jean-Michel, Thank you for the patch. On Friday 01 August 2014 16:04:37 jean-michel.hautb...@vodalys.com wrote: > From: Jean-Michel Hautbois > > This device is a SPI based device from TI. > It is a 3 Gbps HD/SD SDI Dual Output Low Power > Extended Reach Adaptive Cable Equalizer. > > Add rou

Re: [PATCH V2] media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm

2014-08-05 Thread Joonyoung Shim
Hi, On 08/05/2014 06:31 PM, Zhaowei Yuan wrote: > ctx->ctx should be released if the following allocation for ctx->shm > gets failed. > > Signed-off-by: Zhaowei Yuan > --- > drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c |1 + > 1 file changed, 1 insertion(+) > mode change 100644 => 10075

Re: [RFC PATCH] uvcvideo: Add quirk to force the Oculus DK2 IR tracker to grayscale

2014-08-05 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Monday 04 August 2014 22:02:15 Philipp Zabel wrote: > This patch adds a quirk to force Y8 pixel format even if the camera reports > half-width YUYV. > > Signed-off-by: Philipp Zabel > --- > The Oculus Rift DK2 comes with an IR webcam that lies about the p

Re: omap3isp device tree support

2014-08-05 Thread alaganraj sandhanam
Thanks Laurent. Regards, Alagan On Wed, Aug 6, 2014 at 4:11 AM, Laurent Pinchart wrote: > Hi Alagan, > > On Wednesday 06 August 2014 04:07:58 alaganraj sandhanam wrote: >> Hi Laurent, >> >> Thanks for the info. what about git://linuxtv.org/pinchartl/media.git >> omap3isp/dt branch? >> I took 3 p

Re: omap3isp device tree support

2014-08-05 Thread Laurent Pinchart
Hi Alagan, On Wednesday 06 August 2014 04:07:58 alaganraj sandhanam wrote: > Hi Laurent, > > Thanks for the info. what about git://linuxtv.org/pinchartl/media.git > omap3isp/dt branch? > I took 3 patches from this branch, fixed > error: implicit declaration of function ‘v4l2_of_get_next_endpoint’

Re: omap3isp device tree support

2014-08-05 Thread Laurent Pinchart
Hi Alagan, On Wednesday 06 August 2014 03:36:19 alaganraj sandhanam wrote: > Hi Laurent, > > I want to test mt9p031 with beagleboard-xm on 3.16 kernel. > It seems device tree support for omap3isp is not upstreamed. > can you please guide me to validate the same? DT bindings for the OMAP3 ISP are

Re: [PATCHv3] videobuf2: fix lockdep warning

2014-08-05 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Tuesday 05 August 2014 12:56:14 Hans Verkuil wrote: > Changes since v2: use a mutex instead of a spinlock due to possible sleeps > inside the mmap memop. Use the mutex when buffers are allocated/freed, so > it's a much coarser lock. > > The following lockdep

[GIT PULL FOR v3.18] OMAP3 ISP BT.656 support and other fixes

2014-08-05 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 0f3bf3dc1ca394a8385079a5653088672b65c5c4: [media] cx23885: fix UNSET/TUNER_ABSENT confusion (2014-08-01 15:30:59 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp/next for you to fetch changes up to e

Re: omap3isp-bt656 stopping issue

2014-08-05 Thread Laurent Pinchart
Hi Julien, Going through my old BT.656-related e-mails, I think this is my most late reply so far. Let's hope I won't break the record in the future. Now that BT.656 support for the OMAP3 ISP is finally going to mainline, I was wondering if you still had access to the platform mentioned below,

[GIT PULL for 3.17-rc1] media updates for next

2014-08-05 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For: - removal of sn9c102. This device driver was replaced a long time ago by gspca; - Webcam drivers moved from staging into mainstream: solo6x10 and go7007. Those were waiting f

[PATCH 05/15] [media] coda: dequeue buffers if start_streaming fails

2014-08-05 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 34 +++ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c index 86fc527..1e93889 100644 ---

Re: [PATCH 00/11] CODA Cleanup & fixes

2014-08-05 Thread Philipp Zabel
Hi Kamil, Am Dienstag, den 05.08.2014, 17:30 +0200 schrieb Kamil Debski: > Hi Philipp, [...] > I have trouble applying this patch set. Could you make sure that > it cleanly applies onto Mauro's branch: > http://git.linuxtv.org/cgit.cgi/mchehab/media-next.git/? > > I applied the previous series fr

[PATCH 08/15] [media] coda: allow running coda without iram on mx6dl

2014-08-05 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c| 3 +++ drivers/media/platform/coda/coda-common.c | 14 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c inde

[PATCH 04/15] [media] coda: request BIT processor interrupt by name

2014-08-05 Thread Philipp Zabel
Request the main coda interrupt using its name, "bit", if available. Fall back to requesting the first interrupt for backwards compatibility. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/

[PATCH 06/15] [media] coda: dequeue buffers on streamoff

2014-08-05 Thread Philipp Zabel
This is needed to decrease the q->owned_by_drv_count to zero before __vb2_queue_cancel is called, to avoid the WARN_ON therein. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/media/platform/coda/coda-

[PATCH 09/15] [media] coda: increase max vertical frame size to 1088

2014-08-05 Thread Philipp Zabel
This patch increases the maximum vertical frame size reported by enum_fmt and accepted by try_fmt/s_fmt from 1080 to 1088. Since for 16x16-pixel macroblocks 1080p will be rounded up to this anyway, we may as well admit that we support it. Signed-off-by: Philipp Zabel --- drivers/media/platform/c

[PATCH RESEND 00/15] CODA patches for v3.17

2014-08-05 Thread Philipp Zabel
Hi Kamil, Mauro, thank you for merging most of the pending coda patches in time for v3.17. Here are the remaining patches, rebased on top of the current media for-3.17 branch. I have left all checkpatch warnings in the "[media] coda: request BIT processor interrupt by name" patch untouched, as thi

[PATCH 07/15] [media] coda: skip calling coda_find_codec in encoder try_fmt_vid_out

2014-08-05 Thread Philipp Zabel
We know that it will return NULL in this case, so we can just as well skip it altogether. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/media/platform/coda/coda-common.c b/driver

[PATCH 03/15] [media] coda: remove unnecessary peek at next destination buffer from coda_finish_decode

2014-08-05 Thread Philipp Zabel
The return value of this call to v4l2_m2m_next_dst_buf() is never used. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c index 1d2716d..cc9

[PATCH 10/15] [media] coda: add an intermediate debug level

2014-08-05 Thread Philipp Zabel
Dumping all register accesses drowns other debugging messages in the log. Add a less verbose debug level. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/coda/coda-common.c

[PATCH 02/15] [media] coda: move BIT specific functions into separate file

2014-08-05 Thread Philipp Zabel
This patch moves the BIT processor specific coda_context_ops, the firmware upload and other related functions from coda-common.c into coda-bit.c. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/Makefile |2 +- drivers/media/platform/coda/coda-bit.c| 1810 +++

[PATCH 15/15] [media] coda: disable old cropping ioctls

2014-08-05 Thread Philipp Zabel
Since we neither support composing on the OUTPUT side, nor cropping on the CAPTURE side, disable VIDIOC_CROPCAP and VIDIOC_G/S_CROP altogether. This silences a GStreamer warning when GStreamer tries to obtain the pixel aspect ratio using VIDIOC_CROPCAP. Signed-off-by: Philipp Zabel --- drivers/m

[PATCH 14/15] [media] coda: set capture frame size with output S_FMT

2014-08-05 Thread Philipp Zabel
From: Philipp Zabel This patch makes coda_s_fmt_vid_out propagate the output frame size to the capture side. The GStreamer v4l2videodec only ever calls S_FMT on the output side and then expects G_FMT on the capture side to return a valid format. Signed-off-by: Philipp Zabel --- drivers/media/p

[PATCH 11/15] [media] coda: improve allocation error messages

2014-08-05 Thread Philipp Zabel
Produce some error messages when internal buffer allocation fails, for example because the CMA region is too small. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c| 4 +++- drivers/media/platform/coda/coda-common.c | 6 +- 2 files changed, 8 insertions(+), 2 delet

[PATCH 13/15] [media] coda: fix coda_s_fmt_vid_out

2014-08-05 Thread Philipp Zabel
From: Philipp Zabel Set the context color space when s_fmt succeeded, not when it failed. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media

[PATCH 01/15] [media] coda: include header for memcpy

2014-08-05 Thread Philipp Zabel
coda_h264_padding uses memcpy, we should include string.h for that. Reported-by: Ian Jamison Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h

[PATCH 12/15] [media] coda: fix timestamp list handling

2014-08-05 Thread Philipp Zabel
Lock modification of the timestamp list with bitstream_mutex and do not try to remove a timestamp element if the list is empty. This can happen if the userspace feeds us garbage or multiple encoded frames in a single buffer. Signed-off-by: Michael Olbrich Signed-off-by: Philipp Zabel --- driver

Re: [PATCH 8/8] [media] coda: move BIT specific functions into separate file

2014-08-05 Thread Philipp Zabel
Hi Kamil, Am Dienstag, den 05.08.2014, 17:36 +0200 schrieb Kamil Debski: > Hi Philipp, > > I have some errors from checkpatch for this patch. Please fix them. > > ERROR: return is not a function, parentheses are not required > #86: FILE: drivers/media/platform/coda/coda-bit.c:40: > + return

RE: [PATCH 00/11] CODA Cleanup & fixes

2014-08-05 Thread Kamil Debski
Hi Philipp, > From: Philipp Zabel [mailto:p.za...@pengutronix.de] > Sent: Friday, July 25, 2014 5:08 PM > To: linux-media@vger.kernel.org > Cc: Mauro Carvalho Chehab; Kamil Debski; Fabio Estevam; Hans Verkuil; > Nicolas Dufresne; ker...@pengutronix.de; Philipp Zabel > Subject: [PATCH 00/11] CODA C

RE: [PATCH v2 05/11] [media] coda: use CODA_MAX_FRAME_SIZE everywhere

2014-08-05 Thread Kamil Debski
Checkpatch: -- WARNING: line over 80 characters #41: FILE: drivers/media/platform/coda.c:3109: + if (coda_get_bitstream_payload(ctx) >= CODA_MAX_FRAME_SIZE - 512) -- Kamil Debski Samsung R&D Institute Poland > -Original Message- > From: Philipp

RE: [PATCH 5/8] [media] coda: add coda_bit_stream_set_flag helper

2014-08-05 Thread Kamil Debski
Checkpatch: -- WARNING: line over 80 characters #45: FILE: drivers/media/platform/coda/coda-common.c:199: + /* If this context is currently running, update the hardware flag */ WARNING: line over 80 characters #46: FILE: drivers/media/platform/coda/coda-co

RE: [PATCH 8/8] [media] coda: move BIT specific functions into separate file

2014-08-05 Thread Kamil Debski
Hi Philipp, I have some errors from checkpatch for this patch. Please fix them. ERROR: return is not a function, parentheses are not required #86: FILE: drivers/media/platform/coda/coda-bit.c:40: + return (coda_read(dev, CODA_REG_BIT_CUR_PC) != 0); WARNING: quoted string split across lines

Re: [PATCH] em28xx: fix compiler warnings

2014-08-05 Thread Frank Schäfer
Hi Hans, Am 05.08.2014 um 09:00 schrieb Hans Verkuil: > Fix three compiler warnings: > > drivers/media/usb/em28xx/em28xx-input.c: In function > ‘em28xx_i2c_ir_handle_key’: > drivers/media/usb/em28xx/em28xx-input.c:318:1: warning: the frame size of > 1096 bytes is larger than 1024 bytes [-Wframe-

Re: [PATCH 0/8] OMAP3 ISP CCDC fixes

2014-08-05 Thread Enrico
On Fri, Aug 1, 2014 at 3:46 PM, Laurent Pinchart wrote: > Hello, > > This patch series fixes several stability issues related to the CCDC, > especially (but not exclusively) in BT.656 mode. > > The patches apply on top of the OMAP3 ISP CCDC BT.656 mode support series > previously posted. You can f

Re: [PATCH] em28xx: fix compiler warnings

2014-08-05 Thread Shuah Khan
On Tue, Aug 5, 2014 at 8:18 AM, Hans Verkuil wrote: > On 08/05/2014 03:57 PM, Shuah Khan wrote: > I'm not sure what you mean. It *was* a local variable, that was the problem. > There are two option: one is to add it to the main struct, then other is to > allocate and free it inside the function. I

Re: [PATCH] em28xx: fix compiler warnings

2014-08-05 Thread Hans Verkuil
On 08/05/2014 03:57 PM, Shuah Khan wrote: > On Tue, Aug 5, 2014 at 1:00 AM, Hans Verkuil wrote: >> Fix three compiler warnings: >> >> drivers/media/usb/em28xx/em28xx-input.c: In function >> ‘em28xx_i2c_ir_handle_key’: >> drivers/media/usb/em28xx/em28xx-input.c:318:1: warning: the frame size of >

Re: [PATCH] em28xx: fix compiler warnings

2014-08-05 Thread Shuah Khan
On Tue, Aug 5, 2014 at 1:00 AM, Hans Verkuil wrote: > Fix three compiler warnings: > > drivers/media/usb/em28xx/em28xx-input.c: In function > ‘em28xx_i2c_ir_handle_key’: > drivers/media/usb/em28xx/em28xx-input.c:318:1: warning: the frame size of > 1096 bytes is larger than 1024 bytes [-Wframe-la

Re: [PATCH for v3.17 2/2] DocBook media: update version number and V4L2 changes

2014-08-05 Thread Hans Verkuil
On 08/05/14 15:00, Sakari Ailus wrote: > On Mon, Aug 04, 2014 at 11:19:03AM +0200, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Note: the revision text for the v4l2_pix_format change from Laurent >> erroneously mentioned 3.16 when it only got merged for 3.17. Fixed >> that as well. >> >> Signed

Re: [PATCH for v3.17 2/2] DocBook media: update version number and V4L2 changes

2014-08-05 Thread Sakari Ailus
On Mon, Aug 04, 2014 at 11:19:03AM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Note: the revision text for the v4l2_pix_format change from Laurent > erroneously mentioned 3.16 when it only got merged for 3.17. Fixed > that as well. > > Signed-off-by: Hans Verkuil > --- > Documentation/

[PATCH] si2157: clean logging

2014-08-05 Thread Olli Salonen
Same thing for si2157 as Antti did earlier for tda18212: There is no need to print module name nor function name as those are done by kernel logging system when dev_xxx logging is used and driver is proper I2C driver. While here, fix a typo ("unknown") in si2157_init. Signed-off-by: Olli Salonen

[PATCH] si2168: clean logging

2014-08-05 Thread Olli Salonen
Same thing for si2168 as Antti did earlier for tda18212: There is no need to print module name nor function name as those are done by kernel logging system when dev_xxx logging is used and driver is proper I2C driver. Signed-off-by: Olli Salonen --- drivers/media/dvb-frontends/si2168.c | 70 +++

Re: [PATCHv3] videobuf2: fix lockdep warning

2014-08-05 Thread Marek Szyprowski
Hello, On 2014-08-05 12:56, Hans Verkuil wrote: Changes since v2: use a mutex instead of a spinlock due to possible sleeps inside the mmap memop. Use the mutex when buffers are allocated/freed, so it's a much coarser lock. The following lockdep warning has been there ever since commit a517cc

[PATCH 1/1] smiapp: Fix power count handling

2014-08-05 Thread Sakari Ailus
The sensor may be powered by either one of its sub-devices being accessed from the user space (an open file handle) or by its s_power() op being called with non-zero on argument. The driver counts the users and if any reason to keep the device powered exists it will be powered. However, a faulty c

[PATCHv3] videobuf2: fix lockdep warning

2014-08-05 Thread Hans Verkuil
Changes since v2: use a mutex instead of a spinlock due to possible sleeps inside the mmap memop. Use the mutex when buffers are allocated/freed, so it's a much coarser lock. The following lockdep warning has been there ever since commit a517cca6b24fc54ac209e44118ec8962051662e3 one year ago: [

Achtung Benutzer

2014-08-05 Thread Humboldt University of Berlin
Achtung Benutzer Dies ist ein Hinweis, dass Höflichkeit Sie nähern sich der Grenze von 2 GB Datentarif. Ihre E-Mail-Konto senden und empfangen E-Mails, wenn Ihr E-Mail Konto nicht innerhalb von 24 Stunden überprüft blockiert werden würde. Sie werden nicht in der Lage zu senden oder zu empfang

Achtung Benutzer

2014-08-05 Thread Humboldt University of Berlin
Achtung Benutzer Dies ist ein Hinweis, dass Höflichkeit Sie nähern sich der Grenze von 2 GB Datentarif. Ihre E-Mail-Konto senden und empfangen E-Mails, wenn Ihr E-Mail Konto nicht innerhalb von 24 Stunden überprüft blockiert werden würde. Sie werden nicht in der Lage zu senden oder zu empfang

[PATCH V2] media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm

2014-08-05 Thread Zhaowei Yuan
ctx->ctx should be released if the following allocation for ctx->shm gets failed. Signed-off-by: Zhaowei Yuan --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c |1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c diff --git a/d

[PATCH] af9035: new IDs: add support for PCTV 78e and PCTV 79e

2014-08-05 Thread Malcolm Priestley
add the following IDs USB_PID_PCTV_78E (0x025a) for PCTV 78e USB_PID_PCTV_79E (0x0262) for PCTV 79e For these it9135 devices. Signed-off-by: Malcolm Priestley Cc: Antti Palosaari Cc: # v3.14+ --- drivers/media/dvb-core/dvb-usb-ids.h | 2 ++ drivers/media/usb/dvb-usb-v2/af9035.c | 4 2 f

RE: [PATCH] media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm

2014-08-05 Thread Kamil Debski
Hi Zhaowei, Please provide a short and informative commit description. Best wishes, -- Kamil Debski Samsung R&D Institute Poland > -Original Message- > From: Zhaowei Yuan [mailto:zhaowei.y...@samsung.com] > Sent: Tuesday, August 05, 2014 9:13 AM > To: linux-media@vger.kernel.org; k.deb

Achtung Benutzer

2014-08-05 Thread Humboldt University of Berlin
Achtung Benutzer Dies ist ein Hinweis, dass Höflichkeit Sie nähern sich der Grenze von 2 GB Datentarif. Ihre E-Mail-Konto senden und empfangen E-Mails, wenn Ihr E-Mail Konto nicht innerhalb von 24 Stunden überprüft blockiert werden würde. Sie werden nicht in der Lage zu senden oder zu empfang

[patch] [media] vmalloc_sg: off by one in error handling

2014-08-05 Thread Dan Carpenter
The "i--" needs to happen at the start of the loop or it will try to release something bogus (probably it will crash) and it won't release the first ->vaddr_page[]. Fixes: 7b4eeed174b7 ('[media] vmalloc_sg: make sure all pages in vmalloc area are really DMA-ready') Signed-off-by: Dan Carpenter

Re: i.MX6 status for IPU/VPU/GPU

2014-08-05 Thread Jean-Michel Hautbois
2014-08-04 13:54 GMT+02:00 Philipp Zabel : > Hi Tim, > > Am Sonntag, den 03.08.2014, 23:14 -0700 schrieb Tim Harvey: >> Philipp, >> >> It is unfortunate that the lack of the media device framework is >> holding back acceptance of Steve's patches. Is this something that can >> be added later? Does y

[PATCH] media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm

2014-08-05 Thread Zhaowei Yuan
Signed-off-by: Zhaowei Yuan --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c |1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c b/drivers/media/platform/s5p-mfc/s5

[PATCH] em28xx: fix compiler warnings

2014-08-05 Thread Hans Verkuil
Fix three compiler warnings: drivers/media/usb/em28xx/em28xx-input.c: In function ‘em28xx_i2c_ir_handle_key’: drivers/media/usb/em28xx/em28xx-input.c:318:1: warning: the frame size of 1096 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ CC [M] drivers/media/usb/em28xx/em28xx-dvb.o