e version moved in a different direction.
Signed-off-by: Arnd Bergmann
---
resending once more with 'git format-patch -D' to get below the size
limit for linux-media
drivers/staging/media/Kconfig |2 -
drivers/staging/media/Makefile|1 -
drivers/s
On Tue, Jul 23, 2019 at 11:25 AM Hans Verkuil wrote:
>
> On 7/23/19 11:06 AM, Lad, Prabhakar wrote:
> > Hi Hans,
> >
> > On Tue, Jul 23, 2019 at 9:48 AM Hans Verkuil wrote:
> >>
> >> +Laurent Pinchart
> >>
> >> On 7/23/19 10:46 AM, Hans Verkuil wrote:
> >>> Hi Prabhakar,
> >>>
> >>> This staging
: davinci_vpfe: allow building with
COMPILE_TEST")
Signed-off-by: Arnd Bergmann
---
drivers/staging/media/davinci_vpfe/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/davinci_vpfe/Kconfig
b/drivers/staging/media/davinci_vpfe/Kconfig
index aea4
s [-Werror=frame-larger-than=]
By dynamically allocating this array, the stack usage goes down to an
acceptable 140 bytes for the same x86-32 configuration.
Fixes: f5f2e4273518 ("media: staging/intel-ipu3: Add css pipeline programming")
Signed-off-by: Arnd Bergmann
---
v2: restructure to
anes
described in device tree")
Signed-off-by: Arnd Bergmann
---
drivers/media/i2c/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 6d32f8dcf83b..3f5dd80e14f8 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i
On Tue, Mar 5, 2019 at 9:47 AM Sakari Ailus
wrote:
> On Tue, Mar 05, 2019 at 09:40:24AM +0100, Arnd Bergmann wrote:
> > On Tue, Mar 5, 2019 at 8:53 AM Sakari Ailus
> > wrote:
> > > On Tue, Mar 05, 2019 at 12:25:18AM +, Cao, Bingbu wrote:
> >
> > >
On Tue, Mar 5, 2019 at 9:05 AM Geert Uytterhoeven wrote:
> On Mon, Mar 4, 2019 at 9:30 PM Arnd Bergmann wrote:
> > The driver should really call dm365_isif_setup_pinmux() through a callback,
> > but it runs platform specific code by itself, which never actually compiled:
>
On Tue, Mar 5, 2019 at 8:53 AM Sakari Ailus
wrote:
> On Tue, Mar 05, 2019 at 12:25:18AM +, Cao, Bingbu wrote:
> > > struct v4l2_pix_format_mplane *const in =
> > > &q[IPU3_CSS_QUEUE_IN].fmt.mpix;
> > > struct v4l2_pix_format_mplane *const out = @@ -
Kellermann
Cc: Wolfgang Rohdewald
Cc: sta...@vger.kernel.org
Fixes: f686c14364ad ("[media] stb0899: move code to "detach" callback")
Fixes: 6cdeaed3b142 ("media: dvb_usb_pctv452e: module refcount changes were
unbalanced")
Link: https://patchwork.kernel.org/patch/10140175/
Sig
_YIN0_3_EN'
davinci_cfg_reg(DM365_VIN_YIN0_3_EN);
^
7 errors generated.
Fixes: 4907c73deefe ("media: staging: davinci_vpfe: allow building with
COMPILE_TEST")
Signed-off-by: Arnd Bergmann
---
drivers/staging/media/davinci_vpfe/Kconfig | 2 +-
1 file chan
d-function]
The warning is at least easy to fix by marking the function as
__maybe_unused.
Fixes: 7fc7af649ca7 ("media: staging/intel-ipu3: Add imgu top level pci device
driver")
Signed-off-by: Arnd Bergmann
---
drivers/staging/media/ipu3/ipu3.c | 2 +-
1 file changed, 1 insertion(+),
s [-Werror=frame-larger-than=]
By dynamically allocating this array, the stack usage goes down to an
acceptable 272 bytes for the same x86-32 configuration.
Fixes: a0ca1627b450 ("media: staging/intel-ipu3: Add v4l2 driver based on media
framework")
Signed-off-by: Arnd Bergmann
---
driver
s [-Werror=frame-larger-than=]
By dynamically allocating this array, the stack usage goes down to an
acceptable 140 bytes for the same x86-32 configuration.
Fixes: f5f2e4273518 ("media: staging/intel-ipu3: Add css pipeline programming")
Signed-off-by: Arnd Bergmann
---
drivers/staging/m
ned-off-by: Arnd Bergmann
---
v2: annotate fwht() as well, add a comment
---
drivers/media/platform/vicodec/codec-fwht.c | 29 +
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/drivers/media/platform/vicodec/codec-fwht.c
b/drivers/media/platform/vicodec/codec-fw
On Tue, Feb 19, 2019 at 8:02 PM Nick Desaulniers
wrote:
> On Tue, Feb 19, 2019 at 9:02 AM Arnd Bergmann wrote:
> >
> > Clang-9 makes some different inlining decisions compared to gcc, which
> > leads to a warning about a possible stack overflow problem when building
release, a small annotation is still
needed.
Link: https://bugs.llvm.org/show_bug.cgi?id=38809
Signed-off-by: Arnd Bergmann
---
drivers/media/usb/go7007/go7007-fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/go7007/go7007-fw.c
b/drivers/media/usb/go7007/g
ned-off-by: Arnd Bergmann
---
drivers/media/platform/vicodec/codec-fwht.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/media/platform/vicodec/codec-fwht.c
b/drivers/media/platform/vicodec/codec-fwht.c
index d1d6085da9f1..135d56bcc2c5 100644
--- a/dri
appens regardless of KASAN, and the problem is that a
constructor to initalize a dynamically allocated structure leads
to a copy of that structure on the stack, whereas gcc initializes
it in place.
Link: https://bugs.llvm.org/show_bug.cgi?id=40776
Signed-off-by: Arnd Bergmann
---
drive
cted by [y]:
- VIDEO_SECO_RC [=y] && MEDIA_SUPPORT [=y] && CEC_PLATFORM_DRIVERS [=y] &&
VIDEO_SECO_CEC [=y]
Fixes: daef95769b3a ("media: seco-cec: add Consumer-IR support")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/Kconfig | 2 +-
1 file changed,
On Mon, Dec 3, 2018 at 10:15 AM Hans Verkuil wrote:
>
> On 12/02/2018 09:43 PM, Arnd Bergmann wrote:
> > On Sun, Dec 2, 2018 at 2:47 PM Gabriel Francisco Mandaji
> > wrote:
> >
> >> @@ -667,10 +653,28 @@ static void vivid_overlay(struct vivid_dev *de
On Sun, Dec 2, 2018 at 2:47 PM Gabriel Francisco Mandaji
wrote:
> @@ -667,10 +653,28 @@ static void vivid_overlay(struct vivid_dev *dev, struct
> vivid_buffer *buf)
> }
> }
>
> +static void vivid_cap_update_frame_period(struct vivid_dev *dev)
> +{
> + u64 f_period;
> +
> + f
: v4l: Add definitions for MPEG-2 slice format and
metadata")
Signed-off-by: Arnd Bergmann
---
drivers/media/v4l2-core/v4l2-ctrls.c | 5 +
include/uapi/linux/v4l2-controls.h | 5 +
2 files changed, 10 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c
b/drivers/media/v4l2-co
cam-core.c file reveals that we need to select
both VIDEOBUF2_DMA_CONTIG and VIDEOBUF2_VMALLOC, as already do for
VIDEO_CAFE_CCIC.
Fixes: 0a9c643c8faa ("media: marvel-ccic: re-enable mmp-driver build")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/marvell-ccic/Kconfig | 2 +
ble
module when FB_OMAP2 is.
Fixes: d8555fd2f452 ("media: omap2: allow building it with COMPILE_TEST &&
DRM_OMAP")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/omap/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/omap
g it a separate module requires exporting a few symbols and
adding the module license from the header.
Fixes: 0a9c643c8faa ("media: marvel-ccic: re-enable mmp-driver build")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/marvell-ccic/Makefile| 9 -
drivers/media/p
re allowed.
Fixes: 84545d2a1436 ("media: cx231xx: Remove RC_CORE dependency")
Signed-off-by: Arnd Bergmann
---
drivers/media/usb/cx231xx/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/cx231xx/Kconfig
b/drivers/media/usb/cx231xx/Kconfi
;?
[-Werror=implicit-function-declaration]
kzalloc() is declared in linux/slab.h, so let's include this to make it
build in all configurations.
Fixes: 84b477e6d4bc ("media: v4l: cadence: Add Cadence MIPI-CSI2 TX driver")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/cadenc
This marks the respective functions as __maybe_unused as an easy
workaround.
Fixes: 243131134be4 ("media: omap3isp: Allow it to build with COMPILE_TEST")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/omap3isp/isp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On Mon, May 7, 2018 at 5:33 PM, Sakari Ailus wrote:
> On Mon, May 07, 2018 at 04:36:45PM -0400, Arnd Bergmann wrote:
>> On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote:
>> > On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote:
>> >> On Thursday, 26
On Mon, May 7, 2018 at 5:05 AM, Hans Verkuil wrote:
> On 25/04/18 19:22, Mauro Carvalho Chehab wrote:
>> Em Wed, 25 Apr 2018 17:58:25 +0200
>> Arnd Bergmann escreveu:
>>
>>> On Wed, Apr 25, 2018 at 5:26 PM, Christoph Hellwig
>>> wrote:
>>>
On Mon, May 7, 2018 at 9:19 AM, Sakari Ailus wrote:
> On Mon, May 07, 2018 at 04:17:32PM +0300, Laurent Pinchart wrote:
>> On Thursday, 26 April 2018 00:30:10 EEST Arnd Bergmann wrote:
>> > +int omap3isp_stat_request_statistics_time32(st
On Thu, May 3, 2018 at 8:56 AM, Sakari Ailus wrote:
> On Wed, Apr 25, 2018 at 11:30:10PM +0200, Arnd Bergmann wrote:
>> @@ -165,7 +167,14 @@ struct omap3isp_h3a_aewb_config {
>> * @config_counter: Number of the configuration associated with the data.
>> */
>>
coding the v4l2_get_timestamp() call.
Cc: Laurent Pinchart
Cc: Sakari Ailus
Signed-off-by: Arnd Bergmann
---
I submitted this one in November and asked again in January,
still waiting for a review so it can be applied.
---
drivers/media/platform/omap3isp/isph3a_aewb.c | 2 ++
drivers/media/platfor
On Wed, Apr 25, 2018 at 5:26 PM, Christoph Hellwig wrote:
> On Wed, Apr 25, 2018 at 01:15:18PM +0200, Arnd Bergmann wrote:
>> That thought had occurred to me as well. I removed the oldest ISDN
>> drivers already some years ago, and the OSS sound drivers
>> got removed as
On Wed, Apr 25, 2018 at 9:21 AM, Christoph Hellwig wrote:
> On Wed, Apr 25, 2018 at 09:08:13AM +0200, Arnd Bergmann wrote:
>> > That probably also means it can use dma_mmap_coherent instead of the
>> > handcrafted remap_pfn_range loop and the PageReserved abuse.
>>
&
On Wed, Apr 25, 2018 at 8:15 AM, Christoph Hellwig wrote:
> On Tue, Apr 24, 2018 at 10:40:45PM +0200, Arnd Bergmann wrote:
>> @@ -221,6 +222,7 @@ struct zoran_fh {
>>
>> struct zoran_overlay_settings overlay_settings;
>> u32 *overlay_mask;
No drivers should use virt_to_bus() any more. This converts
one of the few remaining ones to the DMA mapping interface.
Signed-off-by: Arnd Bergmann
---
drivers/media/pci/zoran/Kconfig| 2 +-
drivers/media/pci/zoran/zoran.h| 10 +--
drivers/media/pci/zoran/zoran_card.c
On Fri, Apr 20, 2018 at 7:42 PM, Mauro Carvalho Chehab
wrote:
> The virt_to_bus/bus_to_virt macros are arch-specific. Some
> archs don't support it. Yet, as it is interesting to allow
> doing compilation tests on non-ia32/ia64 archs, provide a
> fallback for such archs.
>
> While here, enable COMP
ches, and are thus marked
> RFC.
This all looks fine to me.
Acked-by: Arnd Bergmann
Arnd
o remove
> the #ifdef inside drivers/iommu/ipmmu-vmsa.c.
>
> Yet, I think that the approach I proposed before is better,
> but maybe arm maintainers may have a different opinion.
>
> Arnd,
>
> What do you think?
I think including a foreign architecture header is worse than yo
On Fri, Apr 6, 2018 at 4:26 PM, Mauro Carvalho Chehab
wrote:
> Em Fri, 6 Apr 2018 16:16:46 +0200
> Arnd Bergmann escreveu:
>
>> On Fri, Apr 6, 2018 at 4:15 PM, Mauro Carvalho Chehab
>> wrote:
>> > Em Fri, 6 Apr 2018 11:51:16 +0200
>> > Arnd Bergmann escr
This avoids countless sparse warnings like
drivers/media/platform/fsl-viu.c:1081:25: sparse: incorrect type in argument
2 (different address spaces)
drivers/media/platform/fsl-viu.c:1082:25: sparse: incorrect type in argument
2 (different address spaces)
Signed-off-by: Arnd Bergmann
c. This leads to better
optimized code, and avoids potential namespace conflicts.
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/fsl-viu.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c
in
On Fri, Apr 6, 2018 at 4:15 PM, Mauro Carvalho Chehab
wrote:
> Em Fri, 6 Apr 2018 11:51:16 +0200
> Arnd Bergmann escreveu:
>
>> On Fri, Apr 6, 2018 at 11:47 AM, Mauro Carvalho Chehab
>> wrote:
>>
>> > [PATCH] media: fsl-viu: allow building it with COMPILE_TES
Carvalho Chehab
Reviewed-by: Arnd Bergmann
On Thu, Apr 5, 2018 at 7:54 PM, Mauro Carvalho Chehab
wrote:
> There aren't many things that would be needed to allow it
> to build with compile test.
> +/* Allow building this driver with COMPILE_TEST */
> +#ifndef CONFIG_PPC_MPC512x
> +#define NO_IRQ 0
The NO_IRQ usage here really needs to d
On Thu, Apr 5, 2018 at 8:29 AM, Ulf Hansson wrote:
> On 4 April 2018 at 21:56, Boris Brezillon wrote:
>> On Wed, 04 Apr 2018 21:49:26 +0200
>> Robert Jarzmik wrote:
>>
>>> Ulf Hansson writes:
>>>
>>> > On 2 April 2018 at 16:26, Robert Jarzmik wrote:
>>> >> Hi,
>>> >>
>>> >> This serie is aimed
On Tue, Apr 3, 2018 at 5:18 PM, Robert Jarzmik wrote:
> Arnd Bergmann writes:
>
>>> + { "smc911x.0", "rx", PDMA_FILTER_PARAM(LOWEST, -1) },
>>> + { "smc911x.0", "tx", PDMA_FILTER_PARAM(LOWEST, -1) },
>>> +
On Mon, Apr 2, 2018 at 4:26 PM, Robert Jarzmik wrote:
> Hi,
>
> This serie is aimed at removing the dmaengine slave compat use, and transfer
> knowledge of the DMA requestors into architecture code.
>
> This was discussed/advised by Arnd a couple of years back, it's almost time.
>
> The serie is d
On Mon, Apr 2, 2018 at 6:35 PM, kbuild test robot wrote:
>
>drivers/mtd/nand/marvell_nand.c:2621:17: sparse: undefined identifier
> 'pxad_filter_fn'
>>> drivers/mtd/nand/marvell_nand.c:2621:17: sparse: call with no type!
>In file included from drivers/mtd/nand/marvell_nand.c:21:0:
>d
On Mon, Apr 2, 2018 at 4:26 PM, Robert Jarzmik wrote:
>
> +static struct pxa_ssp_info pxa_ssp_infos[] = {
> + { .dma_chan_rx_name = "ssp1_rx", .dma_chan_tx_name = "ssp1_tx", },
> + { .dma_chan_rx_name = "ssp1_rx", .dma_chan_tx_name = "ssp1_tx", },
> + { .dma_chan_rx_name = "ssp2
On Mon, Apr 2, 2018 at 4:26 PM, Robert Jarzmik wrote:
> +
> +static const struct dma_slave_map pxa_slave_map[] = {
> + /* PXA25x, PXA27x and PXA3xx common entries */
> + { "pxa-pcm-audio", "ac97_mic_mono", PDMA_FILTER_PARAM(LOWEST, 8) },
> + { "pxa-pcm-audio", "ac97_aux_mono_in",
The blackfin architecture is getting removed, so the video
capture driver is also obsolete.
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/Kconfig | 2 -
drivers/media/platform/Makefile| 2 -
drivers/media/platform/blackfin/Kconfig| 16
The m32r architecture is getting removed, so this one is no longer needed.
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/Kconfig | 20 -
drivers/media/platform/Makefile | 2 -
drivers/media/platform/arv.c| 884
3 files changed, 906
iles.
For anything else, I'd keep the removal patches in my asm-generic tree
and will send a pull request for 4.17 along with the actual arch removal.
Arnd
Arnd Bergmann
edac: remove tile driver
net: tile: remove ethernet drivers
net: adi: remove blackfin ethernet drivers
net: 83
no good way to rewrite this function, as a last
resort, this adds an explicit zero-intialization of the structure.
Fixes: 52e17089d185 ("media: imx: Don't initialize vars that won't be used")
Signed-off-by: Arnd Bergmann
---
drivers/staging/media/imx/imx-media-csi.c | 2 +-
1 fi
d variable 'pdev'
[-Werror=unused-variable]
Fixes: 6795bf626482 ("media: ngene: convert kernellog printing from printk() to
dev_*() macros")
Signed-off-by: Arnd Bergmann
---
drivers/media/pci/ngene/ngene-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
]
Fixes: 8f0aa38292f2 ("media: v4l: omap_vout: vrfb: Use the wrapper for
prep_interleaved_dma()")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/omap/omap_vout_vrfb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c
b/drivers/me
_WRITE_MAX might
be increased, I'm leaving the check against U8_MAX.
Fixes: bd24fcddf6b8 ("media: cxd2880-spi: Add support for CXD2880 SPI
interface")
Cc: Martin Sebor
Signed-off-by: Arnd Bergmann
---
drivers/media/spi/cxd2880-spi.c | 24 +++-
1 file changed, 7 ins
On Thu, Feb 22, 2018 at 12:38 AM, James Hogan wrote:
> These patches remove the metag architecture and tightly dependent
> drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4
> based metag toolchain we have been using is hitting compiler bugs, so
> now seems a good time to drop it
32e5a70dc8f4 ("media: platform: Add Renesas CEU driver")
Signed-off-by: Arnd Bergmann
---
drivers/media/platform/renesas-ceu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/renesas-ceu.c
b/drivers/media/platform/renesas-ceu.c
index 223
:12: error: 'ov2685_runtime_resume' defined but
not used [-Werror=unused-function]
static int ov2685_runtime_resume(struct device *dev)
This marks the affected functions as __maybe_unused.
Fixes: e3861d9118c8 ("media: ov2685: add support for OV2685 sensor")
Signed-off-by: Arn
.c:1024:12: error: 'ov5695_runtime_resume' defined but
not used [-Werror=unused-function]
static int ov5695_runtime_resume(struct device *dev)
This marks the affected functions as __maybe_unused.
Fixes: 8a77009be4be ("media: ov5695: add support for OV5695 sensor")
Signed-off-b
undefined!
This adds the same Kconfig dependency that we have in other
media drivers, using 'select SND_PCM' to ensure that we have
can call snd_pcm_hw_constraint_minmax, while depending on
CONFIG_SND_SOC for registering the codec.
Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI r
On Fri, Feb 23, 2018 at 12:02 PM, James Hogan wrote:
> On Fri, Feb 23, 2018 at 11:26:58AM +0100, Arnd Bergmann wrote:
>> On Thu, Feb 22, 2018 at 12:38 AM, James Hogan wrote:
>> > So lets call it a day and drop the Meta architecture port from the
>> > kernel. RIP Met
On Thu, Feb 22, 2018 at 12:38 AM, James Hogan wrote:
> These patches remove the metag architecture and tightly dependent
> drivers from the kernel. With the 4.16 kernel the ancient gcc 4.2.4
> based metag toolchain we have been using is hitting compiler bugs, so
> now seems a good time to drop it
On Tue, Feb 20, 2018 at 1:47 PM, Olof's autobuilder wrote:
> Warnings:
>
> arm64.allmodconfig:
> drivers/media/tuners/r820t.c:1334:1: warning: the frame size of 2896 bytes is
> larger than 2048 bytes [-Wframe-larger-than=]
Hi Greg,
please add
16c3ada89cff ("media: r820t: fix r820t_wri
ring_support.h:158:2:
include/linux/string.h:253:9: error: '__builtin_strncpy' source argument is the
same as destination [-Werror=restrict]
return __builtin_strncpy(p, q, size);
^
This removes the bogus code, leaving the behavior otherwise
unchanged.
On Thu, Feb 1, 2018 at 4:29 PM, Maxime Ripard
wrote:
> On Wed, Jan 31, 2018 at 10:37:37AM +0100, Arnd Bergmann wrote:
>> On Wed, Jan 31, 2018 at 8:29 AM, Maxime Ripard
>
>> I can think of a couple of other problems that may or may not be
>> relevant in the future that woul
On Thu, Feb 1, 2018 at 9:32 AM, Maxime Ripard
wrote:
> On Wed, Jan 31, 2018 at 02:47:53PM +, Liviu Dudau wrote:
>> On Wed, Jan 31, 2018 at 08:42:12AM +0100, Maxime Ripard wrote:
>> > On Wed, Jan 31, 2018 at 03:08:08AM +, Liviu Dudau wrote:
>> > > On Fri, Jan 26, 2018 at 11:00:41AM +0800, Y
On Wed, Jan 31, 2018 at 8:29 AM, Maxime Ripard
wrote:
> Hi Thierry,
>
> On Tue, Jan 30, 2018 at 11:01:50AM +0100, Thierry Reding wrote:
>> On Tue, Jan 30, 2018 at 10:59:16AM +0100, Thierry Reding wrote:
>> > On Tue, Jan 30, 2018 at 10:24:48AM +0100, Arnd Bergmann wrot
On Tue, Jan 30, 2018 at 8:54 AM, Maxime Ripard
wrote:
> On Mon, Jan 29, 2018 at 03:34:02PM +0100, Arnd Bergmann wrote:
>> On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij
>> wrote:
>> > On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard
>> > wrote:
>> >
On Mon, Jan 29, 2018 at 10:49 PM, Randy Dunlap wrote:
> On 01/29/2018 01:21 AM, Yong Deng wrote:
>> Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2
>> interface and CSI1 is used for parallel interface. This is not
>> documented in datasheet but by test and guess.
>>
>> This
On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij
wrote:
> On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard
> wrote:
>> On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linus Walleij wrote:
>> However, in DT systems, that
>> field is filled only with the parent's node dma-ranges property. In
>> our case, an
g/imx: remove confusing IS_ERR_OR_NULL
> usage")
> Signed-off-by: Gustavo A. R. Silva
good catch!
Acked-by: Arnd Bergmann
On Wed, Jan 24, 2018 at 9:13 AM, Dan Carpenter wrote:
> On Mon, Jan 22, 2018 at 09:50:04PM +0100, Sylwester Nawrocki wrote:
>> On 01/22/2018 11:37 AM, Dan Carpenter wrote:
> I happened to be looking at the same bugs but using Smatch. Did you get
> these two bugs as well?
>
> drivers/scsi/sym53c8
it to use the correct header file solves the problem.
Fixes: 39c5c4471b8d ("media: i2c: Add the ov7740 image sensor driver")
Signed-off-by: Arnd Bergmann
---
drivers/media/i2c/ov7740.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/ov7740.c b/dri
bug.cgi?id=69249#c3
Fixes: babde1c243b2 ("[media] V4L: Add driver for S3C24XX/S3C64XX SoC series
camera interface")
Signed-off-by: Arnd Bergmann
---
v4: simplify a bit
v3: fix newly introduced off-by-one bug.
v2: rework logic rather than removing it.
---
drivers/media/platform/s3c-camif
On Tue, Jan 16, 2018 at 9:17 PM, Laurent Pinchart
wrote:
> Hi Arnd,
>
> Thank you for the patch.
>
> On Tuesday, 16 January 2018 18:47:24 EET Arnd Bergmann wrote:
>> While experimenting with older compiler versions, I ran
>> into a warning that no longer s
On Tue, Dec 5, 2017 at 1:41 AM, Laurent Pinchart
wrote:
> Hi Arnd,
>
> Thank you for the patch.
>
> I'll try to review this without too much delay. In the meantime, I'm CC'ing
> Sakari Ailus who might be faster than me :-)
Hi Laurent and Sakari,
I stumbled over this while cleaning out my backlog
On Tue, Jan 16, 2018 at 4:44 PM, Sakari Ailus
wrote:
>> if (camif_mbus_formats[i] == mf->code)
>> break;
>>
>> + if (i == ARRAY_SIZE(camif_mbus_formats))
>> + mf->code = camif_mbus_formats[0];
>> +
>
> Either else here so that the line below is
bug.cgi?id=69249#c3
Fixes: babde1c243b2 ("[media] V4L: Add driver for S3C24XX/S3C64XX SoC series
camera interface")
Signed-off-by: Arnd Bergmann
---
v3: fix newly introduced off-by-one bug.
v2: rework logic rather than removing it.
---
drivers/media/platform/s3c-camif/camif-capture.c |
bug.cgi?id=69249#c3
Fixes: babde1c243b2 ("[media] V4L: Add driver for S3C24XX/S3C64XX SoC series
camera interface")
Signed-off-by: Arnd Bergmann
---
v2: rework logic rather than removing it.
---
drivers/media/platform/s3c-camif/camif-capture.c | 7 +--
1 file changed, 5 insert
ktime_to_ns to be used on
> some places. With this patch it will compile now also for older Kernel
> versions.
>
> Signed-off-by: Jasmin Jessich
Looks good to me,
Acked-by: Arnd Bergmann
>
> Signed-off-by: Sakari Ailus
Thanks for addressing this,
Reviewed-by: Arnd Bergmann
On Tue, Jan 9, 2018 at 11:31 PM, Sakari Ailus
wrote:
>> depends on VIDEO_V4L2_SUBDEV_API
>> ---help---
>> This is a driver for the DW9714 camera lens voice coil.
>> @@ -636,7 +636,6 @@ config VIDEO_OV5670
>> tristate "OmniVision OV5670 sensor support"
>>
On Tue, Jan 9, 2018 at 2:58 PM, Sakari Ailus
wrote:
> Add nop variant of media_entity_cleanup. This allows calling
> media_entity_cleanup whether or not Media controller is enabled,
> simplifying driver code.
>
> Also drop #ifdefs on a few drivers around media_entity_cleanup() and drop
> the extra
On Tue, Jan 9, 2018 at 11:13 AM, Sakari Ailus
wrote:
> Hi Arnd,
>
> On Mon, Jan 08, 2018 at 01:52:28PM +0100, Arnd Bergmann wrote:
>> Without CONFIG_MEDIA_CONTROLLER, the new driver fails to build:
>>
>> drivers/perf/arm_dsu_pmu.c: In function 'dsu_pmu_probe_pmu
d'
defined but not used [-Werror=unused-function]
Fixes: 2086dd35705f ("media: intel-ipu3: cio2: mark PM functions as
__maybe_unused")
Signed-off-by: Arnd Bergmann
---
If my previous patch is not in a stable branch yet, folding the new
fixup into that would be ideal.
---
drivers/
=implicit-function-declaration]
This adds a dependency similar to what we have for other drivers
like this.
Fixes: 39c5c4471b8d ("media: i2c: Add the ov7740 image sensor driver")
Signed-off-by: Arnd Bergmann
---
drivers/media/i2c/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 del
t/cobalt.ko]
undefined!
ERROR: "snd_pcm_lib_ioctl" [drivers/media/pci/cobalt/cobalt.ko] undefined!
ERROR: "snd_pcm_new" [drivers/media/pci/cobalt/cobalt.ko] undefined!
The other audio drivers select 'SND_PCM' for this, so let's
do the same.
Signed-off-by: Ar
ers/staging/media/tegra-vde/tegra-vde.ko] undefined!
Signed-off-by: Arnd Bergmann
---
drivers/staging/media/tegra-vde/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/media/tegra-vde/Kconfig
b/drivers/staging/media/tegra-vde/Kconfig
index ec3ebdaa..5c491467446
this makes the 'select' conditional on V4L2, and refines the
dependencies in VIDEO_AU0828_V4L2 so it can only be enabled in
the exact conditions that have VIDEOBUF2_VMALLOC reachable.
Fixes: 03fbdb2fc2b8 ("media: move videobuf2 to drivers/media/common")
Fixes: 05439b1a3693 (
On Thu, Jan 4, 2018 at 11:31 AM, Arnd Bergmann wrote:
> After the move of videobuf2 into the common directory, selecting the
> au0828 driver with CONFIG_V4L2 disabled started causing a link failure,
> as we now attempt to build videobuf2 but it still requires v4l2:
>
> ERROR: &quo
turn works, as it in turn depends on
VIDEO_V4L2 to link, and that must not be a module if videobuf2
is built-in.
Signed-off-by: Arnd Bergmann
---
drivers/media/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 3f69b948d102..d1be8
ave.
Fixes: 03fbdb2fc2b8 ("media: move videobuf2 to drivers/media/common")
Fixes: 05439b1a3693 ("[media] media: au0828 - convert to use videobuf2")
Signed-off-by: Arnd Bergmann
---
drivers/media/usb/au0828/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
CONFIG_DVB_MMAP was misspelled either as CONFIG_DVB_MMSP
or DVB_MMAP, so it had no effect at all. This fixes that,
to make it possible to build it again.
Fixes: 4021053ed52d ("media: dvb-core: make DVB mmap API optional")
Signed-off-by: Arnd Bergmann
---
drivers/media/dvb-core/Mak
On Wed, Jan 3, 2018 at 11:23 AM, Mauro Carvalho Chehab
wrote:
> Em Tue, 2 Jan 2018 10:48:54 +0100
> Arnd Bergmann escreveu:
>> @@ -2965,7 +2968,6 @@ void dvb_frontend_detach(struct dvb_frontend* fe)
>> dvb_frontend_invoke_release(fe, f
also unlikely to ever be
used on such an architecture, so the easiest workaround is to define
the CIO2_PAGE_SIZE macro to the size that the hardware actually uses.
Fixes: c2a6a07afe4a ("media: intel-ipu3: cio2: add new MIPI-CSI2 driver")
Signed-off-by: Arnd Bergmann
---
drivers/media/p
27;cio2_suspend' defined
but not used [-Werror=unused-function]
This marks them as __maybe_unused to shut up the warnings.
Fixes: c2a6a07afe4a ("media: intel-ipu3: cio2: add new MIPI-CSI2 driver")
Signed-off-by: Arnd Bergmann
---
drivers/media/pci/intel/ipu3/ipu3-cio2.c | 4 ++--
1 fi
1 - 100 of 791 matches
Mail list logo