Re: [ANN] Media documentation converted to ReST markup language

2016-07-13 Thread Laurent Pinchart
Hi Mauro, On Wednesday 13 Jul 2016 11:11:43 Mauro Carvalho Chehab wrote: > Em Sat, 09 Jul 2016 20:10:21 +0300 Laurent Pinchart escreveu: > > The other one is related, the table of contents in the main page of each > > section > > (https://mchehab.fedorapeople.org/media_API_book/linux_tv/media/v4l/

Re: [PATCH] leds: trigger: Introduce an USB port trigger

2016-07-13 Thread Jacek Anaszewski
Hi Rafał, Thanks for the patch. On 07/11/2016 02:24 PM, Rafał Miłecki wrote: This commit adds a new trigger that can turn on LED when USB device gets connected to the USB port. This can can useful for various home routers s/can can/can be/ that have USB port and a proper LED telling user a

Re: [ANN] Media documentation converted to ReST markup language

2016-07-13 Thread Mauro Carvalho Chehab
Em Sat, 09 Jul 2016 20:10:21 +0300 Laurent Pinchart escreveu: > The other one is related, the table of contents in the main page of each > section > (https://mchehab.fedorapeople.org/media_API_book/linux_tv/media/v4l/v4l2.html > for instance) only shows the first level entries. We have a full

[PATCH 1/2] [media] doc-rst: fix an undefined reference

2016-07-13 Thread Mauro Carvalho Chehab
Documentation/media/uapi/cec/cec-ioc-dqevent.rst:43: WARNING: undefined label: cec_event_state_change (if the link has no caption the label must precede a section header) Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/cec/cec-ioc-dqevent.rst | 6 +++--- 1 file change

[PATCH 2/2] [media] doc-rst: increase depth of the main index

2016-07-13 Thread Mauro Carvalho Chehab
It is useful to have an index with all the book contents somewhere, as it makes easier to seek for something. So, increase maxdepth to 5 for the main index at the beginning of the book. While here, remove the genindex content, as it is bogus. Signed-off-by: Mauro Carvalho Chehab --- Documentati

Re: [PATCH 2/2] [media] docs-rst: escape [] characters

2016-07-13 Thread Mauro Carvalho Chehab
Em Wed, 13 Jul 2016 08:15:48 -0300 Mauro Carvalho Chehab escreveu: > Those characters are used for citations. Better to escape, to > avoid them to be misinterpreted. > > Signed-off-by: Mauro Carvalho Chehab > --- > diff --git a/Documentation/media/uapi/v4l/dev-raw-vbi_files/vbi_625.pdf > b/Do

[PATCH 1/2] [media] doc-rst: use the right markup for footnotes

2016-07-13 Thread Mauro Carvalho Chehab
According with ReST spec, footnotes should be like: [#name], and not [name]. So, change them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/audio.rst | 4 +-- Documentation/media/uapi/v4l/control.rst | 4 +-- Documentation/media/uapi/v4l/dev-overla

[PATCH 2/2] [media] docs-rst: escape [] characters

2016-07-13 Thread Mauro Carvalho Chehab
Those characters are used for citations. Better to escape, to avoid them to be misinterpreted. Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/cec/cec-ioc-adap-g-caps.rst | 4 +- .../media/uapi/cec/cec-ioc-adap-g-log-addrs.rst| 6 +-- Documentation/media/uapi/cec/cec-ioc-

[PATCH v6 02/46] dma-mapping: Use unsigned long for dma_attrs

2016-07-13 Thread Krzysztof Kozlowski
The dma-mapping core and the implementations do not change the DMA attributes passed by pointer. Thus the pointer can point to const data. However the attributes do not have to be a bitfield. Instead unsigned long will do fine: 1. This is just simpler. Both in terms of reading the code and sett

[PATCH v6 45/46] dma-mapping: Remove dma_get_attr

2016-07-13 Thread Krzysztof Kozlowski
After switching DMA attributes to unsigned long it is easier to just compare the bits. Signed-off-by: Krzysztof Kozlowski [for avr32] Acked-by: Hans-Christian Noren Egtvedt [for arc] Acked-by: Vineet Gupta [for arm64 and dma-iommu] Acked-by: Robin Murphy --- Documentation/DMA-API.txt

[PATCH v6 00/46] dma-mapping: Use unsigned long for dma_attrs

2016-07-13 Thread Krzysztof Kozlowski
Hi, The fifth version of this patchset was merged by Andrew Morton few days ago. It was rebased on v4.7-rc5 so it missed some ongoing changes. This is just rebase on next-20160713. For easier testing the patchset is available here: repo: https://github.com/krzk/linux branch: for-next/dma