Re: [Mjpeg-users] [PATCH 133/493] remove use of __devexit_p

2013-01-03 Thread Arnd Bergmann
On Monday 19 November 2012, Bill Pemberton wrote: > CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer > needed. I've seen a few cases where __devexit was incorrectly paired with __exit_p(). Have you checked for those as well? It may be worth removing those at the same time.

Re: [Mjpeg-users] [PATCH v2 1/3] [media] include/media: split I2C headers from V4L2 core

2015-11-16 Thread Arnd Bergmann
o $i; git mv $i i2c/; fi; done) > for i in include/media/*.h; do n=`basename $i`; (for j in $(git grep > -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l > list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`"

Re: [Mjpeg-users] [PATCH 1/7] asm-generic, media: allow COMPILE_TEST with virt_to_bus

2018-04-24 Thread Arnd Bergmann
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

Re: [Mjpeg-users] [PATCH] media: zoran: move to dma-mapping interface

2018-04-25 Thread Arnd Bergmann
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;

[Mjpeg-users] [PATCH] media: zoran: move to dma-mapping interface

2018-04-25 Thread Arnd Bergmann
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

Re: [Mjpeg-users] [PATCH] media: zoran: move to dma-mapping interface

2018-04-25 Thread Arnd Bergmann
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. >> &

Re: [Mjpeg-users] [PATCH] media: zoran: move to dma-mapping interface

2018-05-08 Thread Arnd Bergmann
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: >>>