[PATCH] [media] staging: omap4iss: make v4l2_file_operations const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a video_device structure. Signed-off-by: Bhumika Goyal --- drivers/staging/media/omap4iss/iss_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/omap4iss/iss_video.c

[PATCH] [media] v4l: omap3isp: make v4l2_file_operations const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a video_device structure. Signed-off-by: Bhumika Goyal --- drivers/media/platform/omap3isp/ispvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/omap3isp/ispvideo.c

[PATCH] [media] cx18: make v4l2_file_operations const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a video_device structure. Signed-off-by: Bhumika Goyal --- drivers/media/pci/cx18/cx18-streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx18/cx18-streams.c

[PATCH] [media] usbtv: make v4l2_file_operations const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a video_device structure. Signed-off-by: Bhumika Goyal --- drivers/media/usb/usbtv/usbtv-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/usbtv/usbtv-video.c

[PATCH 1/2] [media] dib9000: delete some unused broken code

2017-08-26 Thread Dan Carpenter
The dib9000_remove_slave_frontend() function isn't used. I was reviewing it because my static checker claims it writes one element beyond the end of the array. That's a false positive. What it actually does is, if there are two or more front ends, then it prints a debug message to say that it

[PATCH 2/2] [media] dib8000: remove some bogus dead code

2017-08-26 Thread Dan Carpenter
This function is broken. It sets the wrong front_end to NULL. But it's not used, so let's just delete it. Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb-frontends/dib8000.h b/drivers/media/dvb-frontends/dib8000.h index 2b8b4b1656a2..75cc8e47ec8f 100644

[PATCH 0/4] Fix problems on building documentation with Sphinx 1.6

2017-08-26 Thread Mauro Carvalho Chehab
Sphinx 1.6 changed the way tables are produced, adding some new macros before tables that do vertical alignments. This is incompatible with adjustbox, used by the media book, causing build to fail. This series fix such issues and make the layout on Sphinx 1.6 acceptable. The first patch in this

[PATCH 2/4] media: fix pdf build with Spinx 1.6

2017-08-26 Thread Mauro Carvalho Chehab
Sphinx 1.6 generates some LaTeX code before each table, starting its own environment before calling tabulary, apparently to improve table layout. The problem is that such environment is incompatible with adjustbox. While, in thesis, it should be possible to override it or to redefine tabulary, I

[PATCH 3/4] sphinx.rst: Allow Sphinx version 1.6 at the docs

2017-08-26 Thread Mauro Carvalho Chehab
Now that the PDF building issues with Sphinx 1.6 got fixed, update the documentation and scripts accordingly. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 1/4] docs-rst: fix verbatim font size on tables

2017-08-26 Thread Mauro Carvalho Chehab
On Sphinx 1.6, fancy boxes are used for verbatim. The sphinx.sty sets verbatim font is always \small. That causes a problem inside tables that use smaller fonts, as it can be too big for the box. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 +- 1

Re: [PATCH v2 4/4] docs-rst: Allow Sphinx version 1.6

2017-08-26 Thread Mauro Carvalho Chehab
Em Thu, 24 Aug 2017 13:29:14 -0600 Jonathan Corbet escreveu: > On Thu, 24 Aug 2017 13:26:28 -0600 > Jonathan Corbet wrote: > > > > - % To allow adjusting table sizes > > > - \\usepackage{adjustbox} > > > - > > > ''' > > > } > > > > So this change

[PATCH 03/10] [media]: marvell-ccic: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/marvell-ccic/mcam-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/marvell-ccic/mcam-core.c

[PATCH 05/10] [media]: s5p-g2d: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/s5p-g2d/g2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c

[PATCH 04/10] [media] mx2-emmaprp: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/mx2_emmaprp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c

[PATCH 02/10] [media] dt3155: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/pci/dt3155/dt3155.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/dt3155/dt3155.c b/drivers/media/pci/dt3155/dt3155.c index

[PATCH 10/10] [media] vim2m: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/vim2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index afbaa35..b01fba0

[PATCH 09/10] [media] m2m-deinterlace: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/m2m-deinterlace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/m2m-deinterlace.c

[PATCH 08/10] [media]: fsl-viu: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/fsl-viu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c index

[PATCH 07/10] [media] via-camera: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/via-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.c index

[PATCH 06/10] [media]: ti-vpe: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/platform/ti-vpe/cal.c | 2 +- drivers/media/platform/ti-vpe/vpe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/ti-vpe/cal.c

Re: [PATCH v2 2/3] media: open.rst: document devnode-centric and mc-centric types

2017-08-26 Thread Mauro Carvalho Chehab
Em Fri, 25 Aug 2017 15:42:21 +0200 Hans Verkuil escreveu: > On 25/08/17 14:52, Mauro Carvalho Chehab wrote: > > From: "mche...@s-opensource.com" > > > > When we added support for omap3, back in 2010, we added a new > > type of V4L2 devices that

[PATCH 3/3] media: serial_ir: fix tx timing calculation on 32-bit

2017-08-26 Thread Sean Young
Move the calculation to where it is needed, so the result doesn't need to be stored in the device struct. Signed-off-by: Sean Young --- drivers/media/rc/serial_ir.c | 34 ++ 1 file changed, 14 insertions(+), 20 deletions(-) diff --git

[PATCH 1/3] media: rc: use ktime accessor functions

2017-08-26 Thread Sean Young
From: Jasmin Jessich Prefer using accessor functions so we are not dependent on the ktime_t type. Signed-off-by: Jasmin Jessich Signed-off-by: Sean Young --- drivers/media/rc/rc-ir-raw.c | 11 ++- 1 file changed, 6 insertions(+), 5

[PATCH 2/3] media: rc: gpio-ir-tx: use ktime accessor functions

2017-08-26 Thread Sean Young
Prefer using accessor functions so we are not dependent on the ktime_t type. Signed-off-by: Sean Young --- drivers/media/rc/gpio-ir-tx.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/media/rc/gpio-ir-tx.c b/drivers/media/rc/gpio-ir-tx.c

[PATCH 04/11] [media] s2255drv: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/s2255/s2255drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c index

[PATCH 02/11] [media] stkwebcam: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/stkwebcam/stk-webcam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/stkwebcam/stk-webcam.c

[PATCH 00/11] [media]: make video_device const

2017-08-26 Thread Bhumika Goyal
Make video_device const. Bhumika Goyal (11): [media] zr364xx: make video_device const [media] stkwebcam: make video_device const [media] stk1160: make video_device const [media] s2255drv: make video_device const [media] pwc: make video_device const [media] pvrusb2: make video_device

[PATCH 03/11] [media] stk1160: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/stk1160/stk1160-v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c

[PATCH 08/11] [media] hackrf: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/hackrf/hackrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c index

[PATCH 09/11] [media] go7007: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/go7007/go7007-v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/go7007/go7007-v4l2.c

[PATCH 07/11] [media] msi2500: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/msi2500/msi2500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/msi2500/msi2500.c b/drivers/media/usb/msi2500/msi2500.c index

[PATCH 05/11] [media] pwc: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/pwc/pwc-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c index 22420c1..eb6921d

[PATCH 06/11] [media] pvrusb2: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c

[PATCH 01/11] [media] zr364xx: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/zr364xx/zr364xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/zr364xx/zr364xx.c b/drivers/media/usb/zr364xx/zr364xx.c index

[PATCH 11/11] [media] airspy: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/airspy/airspy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c index

[PATCH 10/11] [media] cpia2: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/usb/cpia2/cpia2_v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/cpia2/cpia2_v4l.c b/drivers/media/usb/cpia2/cpia2_v4l.c index

[GIT PULL FOR v4.14] ktime_t accessor functions

2017-08-26 Thread Sean Young
Hi Mauro, Without the ktime_t accessor functions, the pre-v4.10 media_build broken. Also there is a fix for the serial_ir on 32-bit builds. Please merge where you see fit. Thanks Sean The following changes since commit 0779b8855c746c90b85bfe6e16d5dfa2a6a46655: media: ddbridge: fix

[PATCH 4/5] [media] sta2x11: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/pci/sta2x11/sta2x11_vip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/sta2x11/sta2x11_vip.c

[PATCH 3/5] [media] solo6x10: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/pci/solo6x10/solo6x10-v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/solo6x10/solo6x10-v4l2.c

[PATCH 5/5] [media] tw68: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/pci/tw68/tw68-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/tw68/tw68-video.c b/drivers/media/pci/tw68/tw68-video.c index

[PATCH 2/5] [media] saa7134: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/pci/saa7134/saa7134-empress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/saa7134/saa7134-empress.c

[PATCH 1/5] [media] meye: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/pci/meye/meye.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/meye/meye.c b/drivers/media/pci/meye/meye.c index 0fe76be..49e047e

[PATCH 0/5] [media] PCI: make video_device const

2017-08-26 Thread Bhumika Goyal
Make video_device const. Bhumika Goyal (5): [media] meye: make video_device const [media] saa7134: make video_device const [media] solo6x10: make video_device const [media] sta2x11: make video_device const [media] tw68: make video_device const drivers/media/pci/meye/meye.c

[PATCH v4 0/7] document types of hardware control for V4L2

2017-08-26 Thread Mauro Carvalho Chehab
On Kernel 2.6.39, the omap3 driver was introduced together with a new way to control complex V4L2 devices used on embedded systems, but this was never documented, as the original idea were to have "soon" support for standard apps to use it as well, via libv4l, but that didn't happen so far.

[PATCH v4 6/7] media: videodev2: add a flag for MC-centric devices

2017-08-26 Thread Mauro Carvalho Chehab
As both vdev-centric and MC-centric devices may implement the same APIs, we need a flag to allow userspace to distinguish between them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/open.rst| 7 +++

[PATCH v4 3/7] media: open.rst: remove the minor number range

2017-08-26 Thread Mauro Carvalho Chehab
minor numbers use to range between 0 to 255, but that was changed a long time ago. While it still applies when CONFIG_VIDEO_FIXED_MINOR_RANGES, when the minor number is dynamically allocated, this may not be true. In any case, this is not relevant, as udev will take care of it. So, remove this

[PATCH v4 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-08-26 Thread Mauro Carvalho Chehab
Add a glossary of terms for V4L2, as several concepts are complex enough to cause misunderstandings. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/glossary.rst | 98 +++ Documentation/media/uapi/v4l/v4l2.rst | 1

[PATCH v4 2/7] media: open.rst: better document device node naming

2017-08-26 Thread Mauro Carvalho Chehab
Right now, only kAPI documentation describes the device naming. However, such description is needed at the uAPI too. Add it, and describe how to get an unique identify for a given device. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab

[PATCH v4 4/7] media: open.rst: document devnode-centric and mc-centric types

2017-08-26 Thread Mauro Carvalho Chehab
When we added support for omap3, back in 2010, we added a new type of V4L2 devices that aren't fully controlled via the V4L2 device node. Yet, we have never clearly documented in the V4L2 specification the differences between the two types. Let's document them based on the the current

Re: [PATCH 00/10] [media] platform: make video_device const

2017-08-26 Thread Bhumika Goyal
On Sat, Aug 26, 2017 at 5:29 PM, Mauro Carvalho Chehab wrote: > Em Sat, 26 Aug 2017 15:50:02 +0530 > Bhumika Goyal escreveu: > >> Make make video_device const. >> >> Bhumika Goyal (10): >> [media] cx88: make video_device const >> [media] dt3155:

Re: [PATCH v4] drm/bridge/sii8620: add remote control support

2017-08-26 Thread Sean Young
On Thu, Aug 24, 2017 at 10:58:07AM +0200, Maciej Purski wrote: > MHL specification defines Remote Control Protocol(RCP) to > send input events between MHL devices. > The driver now recognizes RCP messages and reacts to them > by reporting key events to input subsystem, allowing > a user to control

[PATCH 4/4] docs-rst: don't require adjustbox anymore

2017-08-26 Thread Mauro Carvalho Chehab
Only the media PDF book was requiring adjustbox, in order to scale big tables. That worked pretty good with Sphinx versions 1.4 and 1.5, but Spinx 1.6 changed the way tables are produced, by introducing some weird macros before tabulary. That causes adjustbox to fail. So, it can't be used anymore,

[PATCH 6/6] media: dvbproperty.rst: minor editorial changes

2017-08-26 Thread Mauro Carvalho Chehab
Do some minor editorial changes to make this chapter visually better, and the example a little bit clearer. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dvbproperty.rst | 25 - 1 file changed, 12 insertions(+), 13

[PATCH 4/6] media: frontend.rst: mention MMT at the documentation

2017-08-26 Thread Mauro Carvalho Chehab
The ATSC 3.0 uses MPEG Media Transport, with is not currently supported. Yet, we'll need to implement it sooner or later. So, mention about it at the specs. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/frontend.rst | 5 ++--- 1 file changed, 2

[PATCH 3/6] media: frontend.rst: convert SEC note into footnote

2017-08-26 Thread Mauro Carvalho Chehab
The description of what SEC means fits well as a footnote. That makes the need of saying that SEC is only for Satellite when it was mentioned, as the footnote already says that. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/frontend.rst | 19

[PATCH 2/6] media: frontend.rst: fix supported delivery systems

2017-08-26 Thread Mauro Carvalho Chehab
The introduction for the frontend chapter is not quite correct: - it tells that it supports only three types of delivery systems, in opposite to three *groups*; - It adds ISDB-C to the list of supported systems, but, this is not true. Fix it. Signed-off-by: Mauro Carvalho Chehab

[PATCH 5/6] media: dvbproperty.rst: improve notes about legacy frontend calls

2017-08-26 Thread Mauro Carvalho Chehab
The description of the DVBv5 API was written a long time ago, where the API was still new, and there were not apps using it. Now that the API is stable and used by new applications, clarify that DVBv3 calls should not be used and why. Signed-off-by: Mauro Carvalho Chehab

[PATCH 1/6] media: dvb/intro.rst: Use verbatim font where needed

2017-08-26 Thread Mauro Carvalho Chehab
The device numbering for DVB uses "M" and "N" as vars for the number of the device, but sometimes this is printed using normal font instead of verbatim. While here, remove an extra space after quotation marks. This is a minor cleanup with no changes at the text. Signed-off-by: Mauro Carvalho

[PATCH] [media] Staging: media: radio-bcm2048: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c

Re: [PATCH 00/10] [media] platform: make video_device const

2017-08-26 Thread Mauro Carvalho Chehab
Em Sat, 26 Aug 2017 15:50:02 +0530 Bhumika Goyal escreveu: > Make make video_device const. > > Bhumika Goyal (10): > [media] cx88: make video_device const > [media] dt3155: make video_device const > [media]: marvell-ccic: make video_device const > [media]

[PATCH] [media] radio: make video_device const

2017-08-26 Thread Bhumika Goyal
Make these const as they are only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/media/radio/radio-tea5764.c| 2 +- drivers/media/radio/radio-wl1273.c | 2 +- drivers/media/radio/si4713/radio-platform-si4713.c | 2 +-

[PATCH 01/10] [media] cx88: make video_device const

2017-08-26 Thread Bhumika Goyal
Make this const as it is only passed to the const argument of the function cx88_vdev_init. Signed-off-by: Bhumika Goyal --- drivers/media/pci/cx88/cx88-blackbird.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx88/cx88-blackbird.c

[PATCH 00/10] [media] platform: make video_device const

2017-08-26 Thread Bhumika Goyal
Make make video_device const. Bhumika Goyal (10): [media] cx88: make video_device const [media] dt3155: make video_device const [media]: marvell-ccic: make video_device const [media] mx2-emmaprp: make video_device const [media]: s5p-g2d: make video_device const [media]: ti-vpe: make

[PATCH v4 5/7] media: open.rst: Adjust some terms to match the glossary

2017-08-26 Thread Mauro Carvalho Chehab
As we now have a glossary, some terms used on open.rst require adjustments. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/open.rst | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v4 7/7] media: open.rst: add a notice about subdev-API on vdev-centric

2017-08-26 Thread Mauro Carvalho Chehab
The documentation doesn't mention if vdev-centric hardware control would have subdev API or not. Add a notice about that, reflecting the current status, where three drivers use it, in order to support some subdev-specific controls. Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH 00/10] [media] platform: make video_device const

2017-08-26 Thread Mauro Carvalho Chehab
Em Sat, 26 Aug 2017 17:42:34 +0530 Bhumika Goyal escreveu: > On Sat, Aug 26, 2017 at 5:29 PM, Mauro Carvalho Chehab > wrote: > > Em Sat, 26 Aug 2017 15:50:02 +0530 > > Bhumika Goyal escreveu: > > > >> Make make video_device

[PATCH v2] [media] pci: make video_device const

2017-08-26 Thread Bhumika Goyal
Make these const as they are either used during a copy operation or passed to a const argument of the function cx88_vdev_init. Signed-off-by: Bhumika Goyal --- * Combine the patch series sent for drivers/media/pci/ into a single patch.

Re: [GIT PULL FOR v4.14] v2: More constify, some fixes

2017-08-26 Thread Mauro Carvalho Chehab
Em Wed, 23 Aug 2017 16:48:25 +0200 Hans Verkuil escreveu: > Hi Mauro, > > Some more constify stuff and some fixes. The vb2 patch required to fix a > venus bug is the most interesting change here. > > I tried the -p flag for this pull request. I'm not convinced how useful it

[PATCH v2] [media] platform: make video_device const

2017-08-26 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Done using Coccinelle: @match disable optional_qualifier@ identifier s; @@ static struct video_device s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@ identifier match.s; expression list[3] es; position ref.p; @@

Re: [PATCH v2] [media] usb: make video_device const

2017-08-26 Thread isely
Acked-by: Mike Isely -Mike On Sat, 26 Aug 2017, Bhumika Goyal wrote: > Make these const as they are only used during a copy operation. > > Signed-off-by: Bhumika Goyal > --- > Changes in v2: > * Combine the patch series sent for drivers/media/usb/

[PATCH v2] [media] usb: make video_device const

2017-08-26 Thread Bhumika Goyal
Make these const as they are only used during a copy operation. Signed-off-by: Bhumika Goyal --- Changes in v2: * Combine the patch series sent for drivers/media/usb/ into a single patch. drivers/media/usb/airspy/airspy.c| 2 +- drivers/media/usb/cpia2/cpia2_v4l.c

Re: [PATCH 0/4] Fix problems on building documentation with Sphinx 1.6

2017-08-26 Thread Jonathan Corbet
On Sat, 26 Aug 2017 06:28:24 -0300 Mauro Carvalho Chehab wrote: > IMHO, the best is if I apply patch 2 on my trees. Please apply > patches 1 and 3 on your tree. > > Patch 4 can only be applied after patch 2 gets merged, but it > is just a cleanup patch that can be

[PATCH 3/3] [media] usbvision: Improve a size determination in usbvision_alloc()

2017-08-26 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 26 Aug 2017 22:22:13 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 0/3] [media] usbvision: Adjustments for six function implementations

2017-08-26 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 26 Aug 2017 22:36:54 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in usbvision_probe() Adjust eight checks

[PATCH 1/3] [media] usbvision: Delete an error message for a failed memory allocation in usbvision_probe()

2017-08-26 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 26 Aug 2017 22:06:05 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 2/3] [media] usbvision: Adjust eight checks for null pointers

2017-08-26 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 26 Aug 2017 22:16:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus

[PATCH] [media] atomisp2: Remove null check before kfree

2017-08-26 Thread Himanshu Jha
Kfree on NULL pointer is a no-op and therefore checking is redundant. Signed-off-by: Himanshu Jha --- .../staging/media/atomisp/pci/atomisp2/css2400/sh_css_firmware.c| 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 1/1] build: gpio-ir-tx backport

2017-08-26 Thread Jasmin J.
From: Jasmin Jessich - Added v3.16_gpio-ir-tx.patch - gpio_ir_tx needs 3.13. at least Signed-off-by: Jasmin Jessich --- backports/backports.txt | 1 + backports/v3.16_gpio-ir-tx.patch | 25 + v4l/versions.txt | 1

[PATCH 0/1] build: gpio-ir-tx for 3.13

2017-08-26 Thread Jasmin J.
From: Jasmin Jessich Kernel 3.17 introduces GPIOD_OUT_LOW/HIGH. gpio-ir-tx requires this definitions. This patch adds the API calls prior to 3.17 to be used by gpio-ir-tx. With that gpio-ir-tx can be compiled back to Kernel 3.13. I tested the compilation (not the functionality!)

[PATCH] staging: atomisp: constify v4l2_subdev_sensor_ops

2017-08-26 Thread Arvind Yadav
v4l2_subdev_sensor_ops are not supposed to change at runtime. v4l2_subdev_sensor_ops are working with const 'sensor' field of sturct v4l2_subdev_ops. So mark the non-const v4l2_subdev_sensor_ops structs as const. Signed-off-by: Arvind Yadav ---

cron job: media_tree daily build: ERRORS

2017-08-26 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: Sun Aug 27 05:00:17 CEST 2017 media-tree git hash:0b56d1c8fd8991b0ae5255151c54ed20deb49a28 media_build