Re: [PATCH 2/3] include: Convert ethernet mac address declarations to use ETH_ALEN

2013-08-01 Thread Mauro Carvalho Chehab
. Please add my ack on the next version after handling Rafael's request on acpi. Acked-by: Mauro Carvalho Chehab m.che...@samsung.com include/net/irda/irlan_common.h | 3 ++- 12 files changed, 61 insertions(+), 46 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Mauro Carvalho Chehab
Hi Sarah, Em Tue, 1 Oct 2013 13:45:54 -0700 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Tue, Oct 01, 2013 at 10:01:08PM +0300, Xenia Ragiadakou wrote: Hi Sarah, I read the mail on 'possible conflict between xhci_hcd and a patched usbhid'. For reference to others:

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Oct 2013 11:00:13 -0400 (EDT) Alan Stern st...@rowland.harvard.edu escreveu: On Wed, 2 Oct 2013, Mauro Carvalho Chehab wrote: Let me see if I understand the changes at the media drivers. So, please correct me if I got it wrong. I'm yet to get any USB 3.0 media device

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Oct 2013 12:38:14 -0400 (EDT) Alan Stern st...@rowland.harvard.edu escreveu: On Wed, 2 Oct 2013, Mauro Carvalho Chehab wrote: So, there's no need to call usb_change_ep_bandwidth(). That's right. If so, then usb_change_ep_bandwidth() as a quirk, if bInterval

Re: [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper

2013-10-31 Thread Mauro Carvalho Chehab
, right? If so: Acked-by: Mauro Carvalho Chehab m.che...@samsung.com Regards, Hans --- drivers/staging/media/dt3155v4l/dt3155v4l.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging

Re: More than one isoc transfers with usb 2.0 hardware

2008-02-08 Thread Mauro Carvalho Chehab
On Fri, 8 Feb 2008 10:48:54 -0500 (EST) Alan Stern [EMAIL PROTECTED] wrote: On Fri, 8 Feb 2008, Mauro Carvalho Chehab wrote: Hi Guys, There's currently an issue with isoc transfers made by em28xx driver[1] and ehcd_hci. If I try to start isoc transfers on more than one hardware

More than one isoc transfers with usb 2.0 hardware

2008-02-08 Thread Mauro Carvalho Chehab
Hi Guys, There's currently an issue with isoc transfers made by em28xx driver[1] and ehcd_hci. If I try to start isoc transfers on more than one hardware, the second hardware fails at usb_submit_urb() with -ENOSPC. The current code that initializes isoc transfers looks like this (I've removed

Re: More than one isoc transfers with usb 2.0 hardware

2008-02-12 Thread Mauro Carvalho Chehab
On Sat, 9 Feb 2008 11:34:35 -0500 (EST) Alan Stern [EMAIL PROTECTED] wrote: On Sat, 9 Feb 2008, David Brownell wrote: On Friday 08 February 2008, Alan Stern wrote: There's currently an issue with isoc transfers made by em28xx driver[1] and ehcd_hci. If I try to start isoc

Re: [PATCH] MIPS: OCTEON: Rename Kconfig CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC

2013-05-21 Thread Mauro Carvalho Chehab
as it doesn't really do anything, we can get the same configuration with CAVIUM_OCTEON_SOC. Signed-off-by: David Daney david.da...@cavium.com Cc: linux-...@vger.kernel.org Cc: linux-e...@vger.kernel.org Acked-by: Mauro Carvalho Chehab mche...@redhat.com Cc: linux-...@vger.kernel.org Cc

Re: Isochronous transfer error on USB3

2013-12-28 Thread Mauro Carvalho Chehab
Em Mon, 18 Mar 2013 09:51:24 -0700 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Tue, Mar 12, 2013 at 10:57:22AM +0100, jean-philippe francois wrote: 2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11,

Re: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Sun, Dec 29, 2013 at 02:54:40AM -0200, Mauro Carvalho Chehab wrote: It seems that usb_unlink_urb() is causing troubles with xHCI: the endpoint stops streaming, but, after that, it doesn't start again

Re: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
Em Wed, 08 Jan 2014 14:31:28 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Sun, Dec 29, 2013 at 02:54:40AM -0200, Mauro Carvalho Chehab wrote: It seems that usb_unlink_urb() is causing

Re: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
Em Wed, 08 Jan 2014 15:05:12 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Wed, 08 Jan 2014 14:31:28 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Sun, Dec 29, 2013

Fw: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
message: Date: Wed, 08 Jan 2014 16:03:51 -0200 From: Mauro Carvalho Chehab m.che...@samsung.com To: Sarah Sharp sarah.a.sh...@linux.intel.com Cc: jean-philippe francois jp.franc...@cynove.com, linux-usb@vger.kernel.org, LMML linux-me...@vger.kernel.org, Shuah Khan shuah...@samsung.com Subject: Re

Re: [alsa-devel] Fw: Isochronous transfer error on USB3

2014-01-09 Thread Mauro Carvalho Chehab
Em Thu, 09 Jan 2014 09:17:13 +0100 Clemens Ladisch clem...@ladisch.de escreveu: Mauro Carvalho Chehab wrote: I'm getting an weird behavior with em28xx, especially when the device is connected into an audio port. http://git.linuxtv.org/mchehab/experimental.git/blob/refs/heads

Re: [alsa-devel] Fw: Isochronous transfer error on USB3

2014-01-09 Thread Mauro Carvalho Chehab
Em Thu, 9 Jan 2014 09:29:57 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 09 Jan 2014 09:17:13 +0100 Clemens Ladisch clem...@ladisch.de escreveu: Mauro Carvalho Chehab wrote: I'm getting an weird behavior with em28xx, especially when the device is connected

Re: [RESUBMIT] [PATCH] Replace mentions of list_struct to list_head

2014-11-14 Thread Mauro Carvalho Chehab
...@gmail.com Acked-by: Steven Rostedt rost...@goodmis.org Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com -- Steve --- drivers/gpu/drm/radeon/mkregtable.c | 24 drivers/media/pci/cx18/cx18-driver.h | 2 +- include/linux/list.h

[PATCH 1/2] usb drivers: use BUG_ON() instead of if () BUG

2015-05-19 Thread Mauro Carvalho Chehab
Carvalho Chehab mche...@osg.samsung.com diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c b/drivers/media/usb/cx231xx/cx231xx-417.c index 855a708387c6..47a98a2014a5 100644 --- a/drivers/media/usb/cx231xx/cx231xx-417.c +++ b/drivers/media/usb/cx231xx/cx231xx-417.c @@ -1249,8 +1249,7 @@ static void

Re: [PATCH 05/15] cx88: use pci_set_dma_mask insted of pci_dma_supported

2015-10-03 Thread Mauro Carvalho Chehab
Hi Christoph, Em Sat, 3 Oct 2015 17:19:29 +0200 Christoph Hellwig <h...@lst.de> escreveu: > This ensures the dma mask that is supported by the driver is recorded > in the device structure. For this and the other patches touching at drivers/media: Acked-by: Mauro Carvalho

Re: mceusb xhci issue?

2016-07-09 Thread Mauro Carvalho Chehab
C/C linux-usb Mailing list: Em Wed, 18 May 2016 08:52:28 -0600 Wade Berrier escreveu: > On May 14 20:29, Wade Berrier wrote: > > On Wed Apr 27 21:07, Sean Young wrote: > > > On Mon, Apr 25, 2016 at 09:16:51PM -0600, Wade Berrier wrote: > > > > On Apr 25 18:15, Sean

Re: [PATCH] USB: change bInterval default to 10 ms

2016-09-16 Thread Mauro Carvalho Chehab
or below. To work around this mceusb problem, this patch changes the > endpoint-descriptor parsing routine, making the default interval value > be 10 ms rather than 32 ms. > > Signed-off-by: Alan Stern <st...@rowland.harvard.edu> > Tested-by: Wade Berrier <wberr...@gmail.com>

Re: mceusb xhci issue?

2016-09-16 Thread Mauro Carvalho Chehab
Em Fri, 16 Sep 2016 10:25:31 -0400 (EDT) Alan Stern escreveu: > On Thu, 15 Sep 2016, Wade Berrier wrote: > > > On Thu Sep 15 15:13, Alan Stern wrote: > > > On Sat, 10 Sep 2016, Wade Berrier wrote: > > > > > > > On Thu Aug 11 16:18, Alan Stern wrote: > > > > > I

[PATCH 50/57] [media] zr364xx: don't break long lines

2016-10-14 Thread Mauro Carvalho Chehab
Due to the 80-cols checkpatch warnings, several strings were broken into multiple lines. This is not considered a good practice anymore, as it makes harder to grep for strings at the source code. So, join those continuation lines. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH v2 49/58] zr364xx: don't break long lines

2016-10-18 Thread Mauro Carvalho Chehab
;$/) { if (!m/\\n\"$/) { $next=$_; next; } } } print $_; } Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/media/usb/

Re: [PATCH 13/82] media: usbtv: core: make use of new usb_endpoint_maxp_mult()

2016-11-21 Thread Mauro Carvalho Chehab
ch via USB tree or via the media one? If you want to send via USB, after this change, feel free to add my ack: Acked-by: Mauro Carvalho Chehab <mche...@s-opensource.com> > > Cc: Mauro Carvalho Chehab <mche...@kernel.org> > Cc: <linux-me...@vger.kernel

Re: [PATCH RFC] dwc2: Don't assume URB transfer_buffer are dword-aligned

2017-03-28 Thread Mauro Carvalho Chehab
Em Fri, 17 Mar 2017 10:24:15 +0900 Greg Kroah-Hartman <gre...@linuxfoundation.org> escreveu: > On Thu, Mar 16, 2017 at 09:08:40PM -0300, Mauro Carvalho Chehab wrote: > > The dwc2 hardware doesn't like to do DMA transfers without > > aligning data in DWORD. The driver al

[PATCH v2 05/22] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-03-30 Thread Mauro Carvalho Chehab
in text mode and in html. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/gadget.rst | 127 +--- 1 file changed, 52 insertions(+), 75 deletions(-) diff --git a/Documentation/driver-api/usb/gadget.rst b/Documen

[PATCH v2 10/22] usb/callbacks.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../callbacks.txt => driver-api/usb/callbacks.rst} | 61 +++--- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 01/22] tmplcvt: make the tool more robust

2017-03-30 Thread Mauro Carvalho Chehab
/writing_usb_driver.tmpl sed: couldn't open file convert_template.sed: No such file or directory Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/sphinx/tmplcvt | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/

[PATCH v2 11/22] usb/power-management.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/index.rst | 1 + .../usb/power-management.rst} | 404 +++-- 2

[PATCH v2 06/22] writing_usb_driver.rst: Enrich its ReST representation

2017-03-30 Thread Mauro Carvalho Chehab
The pandoc conversion is not perfect. Do handwork in order to: - add a title to this chapter; - adjust function and struct references; - use monospaced fonts for C code names; - some other minor adjustments to make it better to read in text mode and in html. Signed-off-by: Mauro Carvalho

[PATCH v2 15/22] usb/persist.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/index.rst | 1 + .../persist.txt => driver-api/usb/persist.rst} | 22 +-

[PATCH v2 04/22] usb.rst: Enrich its ReST representation

2017-03-30 Thread Mauro Carvalho Chehab
- use the proper warning and note markups; - add references for parts of the document that will be cross-referenced on other USB docs; - some minor adjustments to make it better to read in text mode and in html. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH v2 13/22] error-codes.rst: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/error-codes.rst | 205 +++ Documentation/driver-api/usb/index.rst | 1 + Documen

[PATCH v2 08/22] usb/anchors.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../anchors.txt => driver-api/usb/anchors.rst} | 36 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 20/22] usb: gadget.h: be consistent at kernel doc macros

2017-03-30 Thread Mauro Carvalho Chehab
There's one value that use spaces instead of tabs to ident. That causes the following warning: ./include/linux/usb/gadget.h:193: ERROR: Unexpected indentation. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- include/linux/usb/gadget.h | 2 +- 1 file changed, 1 ins

[PATCH v2 07/22] writing_musb_glue_layer.rst: Enrich its ReST representation

2017-03-30 Thread Mauro Carvalho Chehab
: tag to mark the lines that are referenced at the text. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../driver-api/usb/writing_musb_glue_layer.rst | 598 ++--- 1 file changed, 292 insertions(+), 306 deletions(-) diff --git a/Documentation/driver-a

[PATCH v2 21/22] docs-rst: fix usb cross-references

2017-03-30 Thread Mauro Carvalho Chehab
As some USB documentation files got moved, adjust their cross-references to their new place. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/ABI/stable/sysfs-bus-usb| 2 +- Documentation/driver-api/usb/URB.rst | 2 ++ Documen

[PATCH v2 14/22] usb/hotplug.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../hotplug.txt => driver-api/usb/hotplug.rst} | 66 -- Documentation/driver-api/usb/index.rst | 1 +

Re: [PATCH 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 15:05:30 +0300 Laurent Pinchart <laurent.pinch...@ideasonboard.com> escreveu: > Hi Mauro, > > On Thursday 30 Mar 2017 07:28:00 Mauro Carvalho Chehab wrote: > > Em Thu, 30 Mar 2017 12:34:32 +0300 Laurent Pinchart escreveu: > > > On Thursday 30 M

Re: [PATCH 02/22] docs-rst: convert usb docbooks to ReST

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 13:17:16 +0200 Markus Heiser <markus.hei...@darmarit.de> escreveu: > Am 30.03.2017 um 12:12 schrieb Mauro Carvalho Chehab > <mche...@s-opensource.com>: > >>> At this point I'd just go with what Mauro has. It's here now, as > >>> patc

Re: [PATCH 02/22] docs-rst: convert usb docbooks to ReST

2017-03-30 Thread Mauro Carvalho Chehab
t; >> > >> Am 29.03.2017 um 20:54 schrieb Mauro Carvalho Chehab > >> <mche...@s-opensource.com>: > >> > >>> As we're moving out of DocBook, let's convert the remaining > >>> USB docbooks to ReST. > >>> > >>> The

Re: [PATCH 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 12:34:32 +0300 Laurent Pinchart escreveu: > Hi Oliver, > > On Thursday 30 Mar 2017 10:11:31 Oliver Neukum wrote: > > Am Donnerstag, den 30.03.2017, 01:15 +0300 schrieb Laurent Pinchart: > > > > + may also override PAD bytes at the end

Re: [PATCH v2 01/22] tmplcvt: make the tool more robust

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 07:45:35 -0300 Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu: > Currently, the script just assumes to be called at > Documentation/sphinx/. Change it to work on any directory, > and make it abort if something gets wrong. > > Also, be sure

[PATCH v2 12/22] usb/dma.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../{usb/dma.txt => driver-api/usb/dma.rst}| 51 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 18/22] usb: get rid of some ReST doc build errors

2017-03-30 Thread Mauro Carvalho Chehab
indentation. ./include/linux/usb/composite.h:456: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/usb/core/message.c| 1 + include/linux/usb/composite.h | 1 + 2 files changed, 2 insertions(+) diff

[PATCH v2 19/22] usb: composite.h: fix two warnings when building docs

2017-03-30 Thread Mauro Carvalho Chehab
/composite.h:510: warning: Excess struct/union/enum/typedef member 'os_desc_pending' description in 'usb_composite_dev' So, we need to use /* public: */ to avoid a warning. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- include/linux/usb/composite.h | 5 +++-- 1 file chan

[PATCH v2 16/22] usb/URB.txt: convert to ReST and update it

2017-03-30 Thread Mauro Carvalho Chehab
and struct is located. A few of those descriptions were incomplete. While here, update to reflect the current API status. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../{usb/URB.txt => driver-api/usb/URB.rst}| 205 - Documentation/d

[PATCH v2 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-30 Thread Mauro Carvalho Chehab
Several host controllers, commonly found on ARM, like dwc2, require buffers that are CPU-word aligned for they to work. Failing to do that will cause random troubles at the caller drivers, causing them to fail. Document it. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH v2 17/22] usb.rst: get rid of some Sphinx errors

2017-03-30 Thread Mauro Carvalho Chehab
et name: "usb_recip". Documentation/driver-api/usb/usb.rst:679: ERROR: Unknown target name: "usbdevfs_urb_type". Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/usb.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH v2 02/22] driver-api/basics.rst: add device table header

2017-03-30 Thread Mauro Carvalho Chehab
The structs there at device table are used by other documentation at the Kernel. So, add it to the driver API. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/basics.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/

Re: [PATCH 04/22] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 10:01:29 +0300 Jani Nikula <jani.nik...@linux.intel.com> escreveu: > On Wed, 29 Mar 2017, Mauro Carvalho Chehab <mche...@s-opensource.com> wrote: > > The pandoc conversion is not perfect. Do handwork in order to: > > > > - add a title to t

Re: [PATCH 04/22] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 10:04:32 +0300 Jani Nikula <jani.nik...@linux.intel.com> escreveu: > On Thu, 30 Mar 2017, Jani Nikula <jani.nik...@linux.intel.com> wrote: > > On Wed, 29 Mar 2017, Mauro Carvalho Chehab <mche...@s-opensource.com> > > wrote: > >>

[PATCH v2 09/22] usb/bulk-streams.txt: convert to ReST and add to driver-api book

2017-03-30 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../bulk-streams.txt => driver-api/usb/bulk-streams.rst}| 13 + Documentation/driver-api/usb/index.rst

Re: [PATCH 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 12:38:42 +0300 Laurent Pinchart <laurent.pinch...@ideasonboard.com> escreveu: > Hi Mauro, > > On Wednesday 29 Mar 2017 22:06:33 Mauro Carvalho Chehab wrote: > > Em Thu, 30 Mar 2017 01:15:27 +0300 Laurent Pinchart escreveu: > > > On Wednes

Re: [PATCH 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-30 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 10:26:32 -0400 (EDT) Alan Stern escreveu: > On Thu, 30 Mar 2017, Oliver Neukum wrote: > > > > Btw, I'm a lot more concerned about USB storage drivers. When I was > > > discussing about this issue at the #raspberrypi-devel IRC channel, > > > someone

[PATCH 15/22] usb/URB.txt: convert to ReST and update it

2017-03-29 Thread Mauro Carvalho Chehab
and struct is located. A few of those descriptions were incomplete. While here, update to reflect the current API status. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../{usb/URB.txt => driver-api/usb/URB.rst}| 204 - Documentation/d

[PATCH 19/22] usb: composite.h: fix two warnings when building docs

2017-03-29 Thread Mauro Carvalho Chehab
/composite.h:510: warning: Excess struct/union/enum/typedef member 'os_desc_pending' description in 'usb_composite_dev' So, we need to use /* public: */ to avoid a warning. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- include/linux/usb/composite.h | 5 +++-- 1 file chan

[PATCH 11/22] usb/dma.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../{usb/dma.txt => driver-api/usb/dma.rst}| 51 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH 18/22] usb: get rid of some ReST doc build errors

2017-03-29 Thread Mauro Carvalho Chehab
indentation. ./include/linux/usb/composite.h:456: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/usb/core/message.c| 1 + include/linux/usb/composite.h | 1 + 2 files changed, 2 insertions(+) diff

Re: [PATCH RFC] dwc2: Don't assume URB transfer_buffer are dword-aligned

2017-03-29 Thread Mauro Carvalho Chehab
Em Wed, 29 Mar 2017 11:57:22 +0200 Greg Kroah-Hartman <gre...@linuxfoundation.org> escreveu: > On Tue, Mar 28, 2017 at 06:48:02AM -0300, Mauro Carvalho Chehab wrote: > > Em Fri, 17 Mar 2017 10:24:15 +0900 > > Greg Kroah-Hartman <gre...@linuxfoundation.org> escreveu:

[PATCH 12/22] error-codes.rst: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/error-codes.rst | 205 +++ Documentation/driver-api/usb/index.rst | 1 + Documen

[PATCH 06/22] writing_musb_glue_layer.rst: Enrich its ReST representation

2017-03-29 Thread Mauro Carvalho Chehab
: tag to mark the lines that are referenced at the text. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../driver-api/usb/writing_musb_glue_layer.rst | 251 ++--- 1 file changed, 120 insertions(+), 131 deletions(-) diff --git a/Documentation/driver-a

[PATCH 03/22] usb.rst: Enrich its ReST representation

2017-03-29 Thread Mauro Carvalho Chehab
- use the proper warning and note markups; - add references for parts of the document that will be cross-referenced on other USB docs; - some minor adjustments to make it better to read in text mode and in html. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH 04/22] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-03-29 Thread Mauro Carvalho Chehab
in text mode and in html. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/gadget.rst | 69 + 1 file changed, 45 insertions(+), 24 deletions(-) diff --git a/Documentation/driver-api/usb/gadget.rst b/Documen

[PATCH 20/22] usb: gadget.h: be consistent at kernel doc macros

2017-03-29 Thread Mauro Carvalho Chehab
There's one value that use spaces instead of tabs to ident. That causes the following warning: ./include/linux/usb/gadget.h:193: ERROR: Unexpected indentation. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- include/linux/usb/gadget.h | 2 +- 1 file changed, 1 ins

[PATCH 01/22] driver-api/basics.rst: add device table header

2017-03-29 Thread Mauro Carvalho Chehab
The structs there at device table are used by other documentation at the Kernel. So, add it to the driver API. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/basics.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/

[PATCH 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-29 Thread Mauro Carvalho Chehab
Several host controllers, commonly found on ARM, like dwc2, require buffers that are CPU-word aligned for they to work. Failing to do that will cause random troubles at the caller drivers, causing them to fail. Document it. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH 14/22] usb/persist.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/index.rst | 1 + .../persist.txt => driver-api/usb/persist.rst} | 22 +-

[PATCH 07/22] usb/anchors.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../anchors.txt => driver-api/usb/anchors.rst} | 36 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH 16/22] usb/gadget.rst: remove unused kernel-doc tags

2017-03-29 Thread Mauro Carvalho Chehab
t's remove it. If someone wants do document the function there, they may just revert this patch in the future. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/gadget.rst | 15 --- 1 file changed, 15 deletions(-) diff --git a/Documentatio

[PATCH 10/22] usb/power-management.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/index.rst | 1 + .../usb/power-management.rst} | 403 +++-- 2

[PATCH 13/22] usb/hotplug.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../hotplug.txt => driver-api/usb/hotplug.rst} | 66 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH 08/22] usb/bulk-streams.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../bulk-streams.txt => driver-api/usb/bulk-streams.rst}| 13 + Documentation/driver-api/usb/index.rst

[PATCH 21/22] docs-rst: fix usb cross-references

2017-03-29 Thread Mauro Carvalho Chehab
As some USB documentation files got moved, adjust their cross-references to their new place. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/ABI/stable/sysfs-bus-usb| 2 +- Documentation/driver-api/usb/URB.rst | 2 ++ Documen

[PATCH 09/22] usb/callbacks.txt: convert to ReST and add to driver-api book

2017-03-29 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../callbacks.txt => driver-api/usb/callbacks.rst} | 61 +++--- Documentation/driver-api/usb/index.rst | 1 +

[PATCH 05/22] writing_usb_driver.rst: Enrich its ReST representation

2017-03-29 Thread Mauro Carvalho Chehab
The pandoc conversion is not perfect. Do handwork in order to: - add a title to this chapter; - adjust function and struct references; - use monospaced fonts for C code names; - some other minor adjustments to make it better to read in text mode and in html. Signed-off-by: Mauro Carvalho

[PATCH 17/22] usb.rst: get rid of some Sphinx errors

2017-03-29 Thread Mauro Carvalho Chehab
et name: "usb_recip". Documentation/driver-api/usb/usb.rst:679: ERROR: Unknown target name: "usbdevfs_urb_type". Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/usb.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [PATCH 22/22] usb: document that URB transfer_buffer should be aligned

2017-03-29 Thread Mauro Carvalho Chehab
Em Thu, 30 Mar 2017 01:15:27 +0300 Laurent Pinchart <laurent.pinch...@ideasonboard.com> escreveu: > Hi Mauro, > > Thank you for the patch. > > On Wednesday 29 Mar 2017 15:54:21 Mauro Carvalho Chehab wrote: > > Several host controllers, commonly found on ARM, lik

Re: [PATCH RFC] dwc2: Don't assume URB transfer_buffer are dword-aligned

2017-03-17 Thread Mauro Carvalho Chehab
Hi Greg, (c/c media ML) Em Fri, 17 Mar 2017 10:24:15 +0900 Greg Kroah-Hartman <gre...@linuxfoundation.org> escreveu: > On Thu, Mar 16, 2017 at 09:08:40PM -0300, Mauro Carvalho Chehab wrote: > > The dwc2 hardware doesn't like to do DMA transfers without > > aligning data

[PATCH RFC] dwc2: Don't assume URB transfer_buffer are dword-aligned

2017-03-16 Thread Mauro Carvalho Chehab
used for DMA will be DWORD-aligned. Detected with uvc driver. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- On Raspberry Pi 3, I was unable to test dwc2_read_packet(), as this was never called there. However, the change at the second hunk

Re: [PATCH v2 00/21] Convert USB documentation to ReST format

2017-04-11 Thread Mauro Carvalho Chehab
Em Tue, 11 Apr 2017 16:58:40 +0200 Greg Kroah-Hartman <gre...@linuxfoundation.org> escreveu: > On Sat, Apr 08, 2017 at 10:04:33PM +0200, Greg Kroah-Hartman wrote: > > On Sat, Apr 08, 2017 at 11:23:28AM -0600, Jonathan Corbet wrote: > > > On Wed, 5 Apr 2017 10:22:54 -0

[PATCH v2 05/21] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-04-05 Thread Mauro Carvalho Chehab
in text mode and in html. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/gadget.rst | 127 +--- 1 file changed, 52 insertions(+), 75 deletions(-) diff --git a/Documentation/driver-api/usb/gadget.rst b/Documen

[PATCH v2 11/21] usb/power-management.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/index.rst | 1 + .../usb/power-management.rst} | 404 +++-- 2

[PATCH v2 07/21] writing_musb_glue_layer.rst: Enrich its ReST representation

2017-04-05 Thread Mauro Carvalho Chehab
: tag to mark the lines that are referenced at the text. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../driver-api/usb/writing_musb_glue_layer.rst | 598 ++--- 1 file changed, 292 insertions(+), 306 deletions(-) diff --git a/Documentation/driver-a

[PATCH v2 16/21] usb/URB.txt: convert to ReST and update it

2017-04-05 Thread Mauro Carvalho Chehab
and struct is located. A few of those descriptions were incomplete. While here, update to reflect the current API status. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../{usb/URB.txt => driver-api/usb/URB.rst}| 221 - Documentation/d

[PATCH v2 06/21] writing_usb_driver.rst: Enrich its ReST representation

2017-04-05 Thread Mauro Carvalho Chehab
The pandoc conversion is not perfect. Do handwork in order to: - add a title to this chapter; - adjust function and struct references; - use monospaced fonts for C code names; - some other minor adjustments to make it better to read in text mode and in html. Signed-off-by: Mauro Carvalho

[PATCH v2 15/21] usb/persist.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/index.rst | 1 + .../persist.txt => driver-api/usb/persist.rst} | 22 +-

[PATCH v2 10/21] usb/callbacks.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../callbacks.txt => driver-api/usb/callbacks.rst} | 61 +++--- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 14/21] usb/hotplug.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../hotplug.txt => driver-api/usb/hotplug.rst} | 66 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 01/21] tmplcvt: make the tool more robust

2017-04-05 Thread Mauro Carvalho Chehab
/writing_usb_driver.tmpl sed: couldn't open file convert_template.sed: No such file or directory Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/sphinx/tmplcvt | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/

[PATCH v2 00/21] Convert USB documentation to ReST format

2017-04-05 Thread Mauro Carvalho Chehab
Currently, there are several USB core documents that are at either written in plain text or in DocBook format. Convert them to ReST and add to the driver-api book. Mauro Carvalho Chehab (21): tmplcvt: make the tool more robust driver-api/basics.rst: add device table header docs-rst: convert

[PATCH v2 20/21] usb: gadget.h: be consistent at kernel doc macros

2017-04-05 Thread Mauro Carvalho Chehab
There's one value that use spaces instead of tabs to ident. That causes the following warning: ./include/linux/usb/gadget.h:193: ERROR: Unexpected indentation. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- include/linux/usb/gadget.h | 2 +- 1 file changed, 1 ins

[PATCH v3] usb: document that URB transfer_buffer should be aligned

2017-04-05 Thread Mauro Carvalho Chehab
. Document it. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Note: this patch is based on my previous patch series with converts URB.txt to ReST: Subject: [PATCH v2 00/21] Convert USB documentation to ReST format Date: Wed, 5 Apr 2017 10:22:54 -0300 https://marc.i

[PATCH v2 18/21] usb: get rid of some ReST doc build errors

2017-04-05 Thread Mauro Carvalho Chehab
indentation. ./include/linux/usb/composite.h:456: WARNING: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/usb/core/message.c| 1 + include/linux/usb/composite.h | 1 + 2 files changed, 2 insertions(+) diff

[PATCH v2 19/21] usb: composite.h: fix two warnings when building docs

2017-04-05 Thread Mauro Carvalho Chehab
/composite.h:510: warning: Excess struct/union/enum/typedef member 'os_desc_pending' description in 'usb_composite_dev' So, we need to use /* public: */ to avoid a warning. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- include/linux/usb/composite.h | 5 +++-- 1 file chan

[PATCH v2 12/21] usb/dma.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../{usb/dma.txt => driver-api/usb/dma.rst}| 51 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 17/21] usb.rst: get rid of some Sphinx errors

2017-04-05 Thread Mauro Carvalho Chehab
et name: "usb_recip". Documentation/driver-api/usb/usb.rst:679: ERROR: Unknown target name: "usbdevfs_urb_type". Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/usb.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH v4 4/6] usb.rst: move documentation from proc_usb_info.txt to USB ReST book

2017-04-16 Thread Mauro Carvalho Chehab
The contents of proc_usb_info.txt complements what's there at driver-api usb book. Yet, it is outdated, as it still refers to the USB character devices as usbfs. So, move the contents to usb.rst, adjusting it to point to the right places. Signed-off-by: Mauro Carvalho Chehab <mche..

[PATCH v4 6/6] sound: replace /proc/bus/usb by /dev/bus/usb

2017-04-16 Thread Mauro Carvalho Chehab
The /proc/bus/usb devices don't exist anymore, since when we got rid of usbfs. Those devices are now seen at /dev/bus/usb. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- sound/usb/usx2y/us122l.c| 2 +- sound/usb/usx2y/usX2Yhwdep.c| 2 +- sound/usb

  1   2   >