Re: [Mjpeg-users] [PATCH] media: staging: media: zoran: Deleted dead code

2022-07-22 Thread Mauro Carvalho Chehab
Em Fri, 22 Jul 2022 20:52:29 +0200 Philipp Hortmann escreveu: > On 7/22/22 20:26, Abhijeet Srivastava wrote: > > Deleted part of code in block comment > > > > Signed-off-by: Abhijeet Srivastava > > --- > > drivers/staging/media/zoran/zoran_driver.c | 9 - > > 1 file changed, 9 deleti

[Mjpeg-users] [PATCH v2 65/67] media: Kconfig: cleanup VIDEO_DEV dependencies

2022-03-14 Thread Mauro Carvalho Chehab
s. Suggested-by: Laurent Pinchart Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/67] at: https://lore.kernel.org/all/cover.1647274

[Mjpeg-users] [PATCH v2 00/67] media: Kconfig/Makefile reorg

2022-03-14 Thread Mauro Carvalho Chehab
oved out of nxp/; - STMicroelectronics has a new dir (stm) with two subdirectories on it (sti and stm32); - Mediatek's subdirectories were renamed; - The other media Kconfig main directories were sorted as well; - Simplified VIDEO_DEV dependencies at radio Kconfig; Mauro Carvalho Chehab (66): media

Re: [Mjpeg-users] [PATCH] media: Kconfig: cleanup VIDEO_DEV dependencies

2022-03-14 Thread Mauro Carvalho Chehab
Em Mon, 14 Mar 2022 16:07:45 +0100 Jacopo Mondi escreveu: > Hi Mauro > > On Sun, Mar 13, 2022 at 08:12:05AM +0100, Mauro Carvalho Chehab wrote: > > media Kconfig has two entries associated to V4L API: > > VIDEO_DEV and VIDEO_V4L2. > > > > On Kernel 2.6.x, there

[Mjpeg-users] [PATCH 00/64] media: Kconfig/Makefile reorg

2022-03-14 Thread Mauro Carvalho Chehab
per-vendor, IMO it makes sense to define a per-vendor config space, like: config VIDEO_VNDR_bar ... config VIDEO_VNDR_foo ... config VIDEO_VNDR_foobar ... Regards, Mauro Mauro Carvalho Chehab (64): media: xc2028: rename

[Mjpeg-users] [PATCH 64/64] media: Kconfig: cleanup VIDEO_DEV dependencies

2022-03-14 Thread Mauro Carvalho Chehab
s. Suggested-by: Laurent Pinchart Reviewed-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 00/64] at: https://lore.kernel.org/all/cover.1647242578.git.mche...@kernel.or

[Mjpeg-users] [PATCH] media: Kconfig: cleanup VIDEO_DEV dependencies

2022-03-13 Thread Mauro Carvalho Chehab
s. Suggested-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- drivers/input/rmi4/Kconfig| 2 +- drivers/input/touchscreen/Kconfig | 4 +- drivers/media/Kconfig | 3 + drivers/media/common/saa7146/Kconfig | 2

[Mjpeg-users] [PATCH v3 00/16] Replace some bad characters on documents

2021-05-17 Thread Mauro Carvalho Chehab
rate another series to address other character occurrences. v3: - removed curly commas and changed the patch descriptions. v2: - removed EM/EN dashes and changed the patch descriptions. Mauro Carvalho Chehab (16): docs: hwmon: ir36021.rst: replace some characters docs: admin-guide: reporti

Re: [Mjpeg-users] [PATCH v3 00/16] Replace some bad characters on documents

2021-05-17 Thread Mauro Carvalho Chehab
Em Mon, 17 May 2021 11:48:04 +0100 David Woodhouse escreveu: > On Sun, 2021-05-16 at 12:18 +0200, Mauro Carvalho Chehab wrote: > > The conversion tools used during DocBook/LaTeX/html/Markdown->ReST > > conversion and some cut-and-pasted text contain some characters that

[Mjpeg-users] [PATCH v3 05/16] docs: driver-api: media: drivers: zoran.rst: replace some characters

2021-05-17 Thread Mauro Carvalho Chehab
ollowing characters: - U+00ad ('­'): SOFT HYPHEN as ASCII HYPHEN is preferred over SOFT HYPHEN Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/media/drivers/zoran.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentatio

Re: [Mjpeg-users] [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-15 Thread Mauro Carvalho Chehab
Em Sat, 15 May 2021 10:24:28 +0100 David Woodhouse escreveu: > On Sat, 2021-05-15 at 10:22 +0200, Mauro Carvalho Chehab wrote: > > > > Here, U is not working. No idea why. I haven't > > > > test it for *years*, as I din't see any reason why I

Re: [Mjpeg-users] [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-15 Thread Mauro Carvalho Chehab
Em Fri, 14 May 2021 10:06:01 +0100 David Woodhouse escreveu: > On Fri, 2021-05-14 at 10:21 +0200, Mauro Carvalho Chehab wrote: > > Em Wed, 12 May 2021 18:07:04 +0100 > > David Woodhouse escreveu: > > > > > On Wed, 2021-05-12 at 14:50 +0200, Mauro Carvalh

Re: [Mjpeg-users] [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-14 Thread Mauro Carvalho Chehab
Em Wed, 12 May 2021 18:07:04 +0100 David Woodhouse escreveu: > On Wed, 2021-05-12 at 14:50 +0200, Mauro Carvalho Chehab wrote: > > Such conversion tools - plus some text editor like LibreOffice or similar > > - have > > a set of rules that turns some typed ASCII

Re: [Mjpeg-users] [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-14 Thread Mauro Carvalho Chehab
Em Fri, 14 May 2021 12:08:36 +0100 Edward Cree escreveu: > For anyone who doesn't know about it: X has this wonderful thing called > the Compose key[1]. For instance, type ⎄--- to get —, or ⎄<" for “. > Much more mnemonic than Unicode codepoints; and you can extend it with > user-defined seque

Re: [Mjpeg-users] [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-12 Thread Mauro Carvalho Chehab
Em Wed, 12 May 2021 10:14:44 -0400 "Theodore Ts'o" escreveu: > On Wed, May 12, 2021 at 02:50:04PM +0200, Mauro Carvalho Chehab wrote: > > v2: > > - removed EM/EN DASH conversion from this patchset; > > Are you still thinking about doing

[Mjpeg-users] [PATCH v2 09/40] docs: driver-api: media: drivers: Use ASCII subset instead of UTF-8 alternate symbols

2021-05-12 Thread Mauro Carvalho Chehab
tps://docutils.sourceforge.io/docs/user/smartquotes.html So, replace the occurences of the following UTF-8 characters: - U+00ad ('­'): SOFT HYPHEN - U+00b4 ('´'): ACUTE ACCENT Signed-off-by: Mauro Carvalho Chehab --- .../driver-api/media/drivers/sh_mobile

[Mjpeg-users] [PATCH v2 00/40] Use ASCII subset instead of UTF-8 alternate symbols

2021-05-12 Thread Mauro Carvalho Chehab
641727.git.mchehab+hua...@kernel.org/ I also changed the patch texts, in order to better describe the patches goals. Mauro Carvalho Chehab (40): docs: hwmon: Use ASCII subset instead of UTF-8 alternate symbols docs: admin-guide: Use ASCII subset instead of UTF-8 alternate symbols do

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-11 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 15:33:47 +0100 Edward Cree escreveu: > On 10/05/2021 14:59, Matthew Wilcox wrote: > > Most of these > > UTF-8 characters come from latex conversions and really aren't > > necessary (and are being used incorrectly). > I fully agree with fixing those. > The cover-letter, howev

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-11 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 14:49:44 +0100 David Woodhouse escreveu: > On Mon, 2021-05-10 at 13:55 +0200, Mauro Carvalho Chehab wrote: > > This patch series is doing conversion only when using ASCII makes > > more sense than using UTF-8. > > > > See, a number of converted

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-11 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 15:22:02 -0400 "Theodore Ts'o" escreveu: > On Mon, May 10, 2021 at 02:49:44PM +0100, David Woodhouse wrote: > > On Mon, 2021-05-10 at 13:55 +0200, Mauro Carvalho Chehab wrote: > > > This patch series is doing conversion only when using

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 12:52:44 +0200 Thorsten Leemhuis escreveu: > On 10.05.21 12:26, Mauro Carvalho Chehab wrote: > > > > As Linux developers are all around the globe, and not everybody has UTF-8 > > as their default charset, better to use UTF-8 only on cases where it is

[Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
└'): BOX DRAWINGS LIGHT UP AND RIGHT - U+251c ('├'): BOX DRAWINGS LIGHT VERTICAL AND RIGHT - U+2b0d ('⬍'): UP DOWN BLACK ARROW PS.: maintainers were bcc on patch 00/53, in order to reduce the risk of patch 00 to be rejected by list servers. - For U+00b7

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 14:16:16 +0100 Edward Cree escreveu: > On 10/05/2021 12:55, Mauro Carvalho Chehab wrote: > > The main point on this series is to replace just the occurrences > > where ASCII represents the symbol equally well > > > - U+2014 ('—'): E

[Mjpeg-users] [PATCH 16/53] docs: driver-api: media: drivers: avoid using UTF-8 chars

2021-05-10 Thread Mauro Carvalho Chehab
E ACCENT - U+2014 ('—'): EM DASH Signed-off-by: Mauro Carvalho Chehab --- .../driver-api/media/drivers/sh_mobile_ceu_camera.rst | 8 Documentation/driver-api/media/drivers/vidtv.rst | 4 ++-- Documentation/driver-api/media/drivers/zoran.rst | 2 +-

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Hi David, Em Mon, 10 May 2021 11:54:02 +0100 David Woodhouse escreveu: > On Mon, 2021-05-10 at 12:26 +0200, Mauro Carvalho Chehab wrote: > > There are several UTF-8 characters at the Kernel's documentation. > > > > Several of them were due to the process of convert

Re: [Mjpeg-users] [PATCH 00/53] Get rid of UTF-8 chars that can be mapped as ASCII

2021-05-10 Thread Mauro Carvalho Chehab
Em Mon, 10 May 2021 13:19:50 +0200 Mauro Carvalho Chehab escreveu: > Em Mon, 10 May 2021 12:52:44 +0200 > Thorsten Leemhuis escreveu: > > > On 10.05.21 12:26, Mauro Carvalho Chehab wrote: > > > > > > As Linux developers are all around the globe, and not e

[Mjpeg-users] [PATCH] media: zoran.rst: place it at the right place this time

2020-10-05 Thread Mauro Carvalho Chehab
I was too quick moving zoran.rst... it ends that the original patch didn't do the right thing and forgot to update the files that references it. Fix it. Fixes: 6b90346919d4 ("media: zoran: move documentation file to the right place") Signed-off-by: Mauro Carvalho Chehab ---

[Mjpeg-users] [PATCH 1/4] media: zoran: move documentation file to the right place

2020-10-03 Thread Mauro Carvalho Chehab
The zoran revert patch misplaced the Zoran doc file. Move it to the right place. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/media/drivers/index.rst | 1 + .../{media => driver-api/media/drivers}/v4l-drivers/zoran.rst| 0 2 files changed, 1 insert

[Mjpeg-users] [PATCH 1/3] media: zoran: use upper case for card types

2020-10-01 Thread Mauro Carvalho Chehab
Don't mix case there: let's just use uppercase, as this is the common pattern for such define-like enums. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/zoran/zoran.h | 8 drivers/staging/media/zoran/zoran_card.c | 20 ++-- 2 files c

[Mjpeg-users] [PATCH 3/3] media: zoran: fix mixed case on vars

2020-10-01 Thread Mauro Carvalho Chehab
it grep "#define zr" drivers/staging/media/zoran/*.[ch]|perl -ne 'print "$1\n" if (m/#define\s+(zr\S+)/)'); do j=$(echo $i|tr [a-z] [A-Z]); sed "s,\b$i\b,$j,g" -i drivers/staging/media/zoran/*.[ch]; done This should solve almost all warnings reported by ch

[Mjpeg-users] [PATCH 2/3] media: zoran: get rid of an unused var

2020-10-01 Thread Mauro Carvalho Chehab
The jpeg_error in lowercase is not used anywhere. Drop it. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/zoran/zoran.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/zoran/zoran.h b/drivers/staging/media/zoran/zoran.h index 7217a64fe59b..945502becd60

Re: [Mjpeg-users] bringing back media/zoran driver

2019-09-21 Thread Mauro Carvalho Chehab
Em Sat, 21 Sep 2019 19:03:57 +0200 Corentin Labbe escreveu: > hello > > I am the owner of a zoran based DC10+ card. > I am in the need of using it since yesterday and I found that its driver was > removed. > > Reverting the removing patch made to a temporary working situation. > > If I unders

[Mjpeg-users] [PATCH 14/14] media: staging: fix several typos

2019-02-19 Thread Mauro Carvalho Chehab
Use codespell to fix lots of typos over frontends. Manually verified to avoid false-positives. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c | 2 +- drivers/staging/media/davinci_vpfe/dm365_isif.c | 4 ++-- drivers/staging/media/davinci_vpfe

[Mjpeg-users] [PATCH v4 08/26] media: v4l: fix broken video4linux docs locations

2018-06-15 Thread Mauro Carvalho Chehab
/video4linux/videobuf Documentation/video4linux/Zoran Make them point to the new location where available, removing otherwise. Signed-off-by: Mauro Carvalho Chehab --- .../translations/zh_CN/video4linux/v4l2-framework.txt | 6 +++--- drivers/media/pci/bt8xx/Kconfig| 2

[Mjpeg-users] [PATCH v3 08/27] media: v4l: fix broken video4linux docs locations

2018-06-15 Thread Mauro Carvalho Chehab
/video4linux/videobuf Documentation/video4linux/Zoran Make them point to the new location where available, removing otherwise. Signed-off-by: Mauro Carvalho Chehab --- .../translations/zh_CN/video4linux/v4l2-framework.txt | 6 +++--- drivers/media/pci/bt8xx/Kconfig| 2

[Mjpeg-users] [PATCH 3/3] media: v4l: fix broken video4linux docs locations

2018-05-09 Thread Mauro Carvalho Chehab
/video4linux/videobuf Documentation/video4linux/Zoran Make them point to the new location where available, removing otherwise. Signed-off-by: Mauro Carvalho Chehab --- .../translations/zh_CN/video4linux/v4l2-framework.txt | 6 +++--- drivers/media/pci/bt8xx/Kconfig| 2

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

2018-04-24 Thread Mauro Carvalho Chehab
Em Tue, 24 Apr 2018 09:55:55 +0200 Arnd Bergmann escreveu: > 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 compi

[Mjpeg-users] [PATCH 22/30] media: zoran: don't cast pointers to print them

2018-03-23 Thread Mauro Carvalho Chehab
drivers/media/pci/zoran/zoran_driver.c:242 v4l_fbuffer_alloc() warn: argument 5 to %lx specifier is cast from pointer Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/zoran/zoran_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/zoran

[Mjpeg-users] [PATCH 3/3] media: add V4L2_CAP_VDEV_CENTERED flag on vdev-centric drivers

2017-08-25 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab Those devices are controlled via their V4L2 device. Add a flag to indicate them as such. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/bt8xx/bttv-driver.c | 4 +++- drivers/media/pci/cobalt/cobalt-v4l2.c

[Mjpeg-users] [PATCH 0/3] document types of hardware control for V4L2

2017-08-25 Thread Mauro Carvalho Chehab
On 2010, we introduced a new way to control complex V4L2 devices used on embedded systems, but this was never documented, nor it is possible for an userspace applicatin to detect the kind of control a device supports. This series fill the gap. Mauro Carvalho Chehab (3): media: open.rst

Re: [Mjpeg-users] [PATCH 13/38] Annotate hardware config module parameters in drivers/media/

2017-04-19 Thread Mauro Carvalho Chehab
rs/media/. > > Suggested-by: Alan Cox > Signed-off-by: David Howells > cc: Mauro Carvalho Chehab Acked-by: Mauro Carvalho Chehab > cc: mjpeg-users@lists.sourceforge.net > cc: linux-me...@vger.kernel.org > --- > > drivers/media/pci/zoran/zoran_card.c |2 +- &

[Mjpeg-users] [PATCH 15/19] zr36016: remove some unused tables

2016-06-24 Thread Mauro Carvalho Chehab
#x27;zr016_xoff' defined but not used [-Wunused-const-variable=] static const int zr016_xoff[] = { 20, 20, 20 }; ^~ Those tables aren't used anywere. So, remove them. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/zoran/zr36016.c | 4 1 file chan

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

2015-11-16 Thread Mauro Carvalho Chehab
echo " perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\"; done; done; echo "cat > a && mv a \$i; done" ); ) >script && . ./script Signed-off-

[Mjpeg-users] [PATCH 09/14] zoran: fix indent

2015-04-29 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media/pci/zoran/zoran_device.c:1594 zoran_init_hardware() warn: inconsistent indenting Fix indent. While here, fix CodingStyle and remove dead code, as it can always be recovered from git logs. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers

Re: [Mjpeg-users] [PATCH 40/62] media: irq: Remove IRQF_DISABLED

2011-09-18 Thread Mauro Carvalho Chehab
Em 07-09-2011 05:10, Yong Zhang escreveu: > This flag is a NOOP and can be removed now. > > Signed-off-by: Yong Zhang Patch looks ok. I'm adding it on my tree. Thanks! Mauro > --- > drivers/media/common/saa7146_core.c|2 +- > drivers/media/dvb/bt8xx/bt878.c|2 +- >

Re: [Mjpeg-users] [PATCH 07/25] drivers/media: Use static const char arrays

2010-09-15 Thread Mauro Carvalho Chehab
Em 13-09-2010 16:47, Joe Perches escreveu: > Signed-off-by: Joe Perches > --- > drivers/media/video/zoran/zoran_device.c |5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/media/video/zoran/zoran_device.c > b/drivers/media/video/zoran/zoran_device.c > inde