<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/musb, branch linux-4.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-03T23:59:19Z</updated>
<entry>
<title>usb: musb: dsps: do not disable CPPI41 irq in driver teardown</title>
<updated>2018-10-03T23:59:19Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-09-17T16:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e2842a2e17589b1e01fc0cdb4314aecf0e2b577'/>
<id>urn:sha1:8e2842a2e17589b1e01fc0cdb4314aecf0e2b577</id>
<content type='text'>
commit 783f3b4e9ec50491c21746e7e05ec6c39c21f563 upstream.

TI AM335x CPPI 4.1 module uses a single register bit for CPPI interrupts
in both musb controllers. So disabling the CPPI irq in one musb driver
breaks the other musb module.

Since musb is already disabled before tearing down dma controller in
musb_remove(), it is safe to not disable CPPI irq in
musb_dma_controller_destroy().

Fixes: 255348289f71 ("usb: musb: dsps: Manage CPPI 4.1 DMA interrupt in DSPS")
Cc: stable@vger.kernel.org
Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: musb: clean up debugfs file and directory creation</title>
<updated>2018-05-31T10:54:21Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2018-05-29T15:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a1ef171ffc3de16d4f34e03a2b8c296771f7015'/>
<id>urn:sha1:8a1ef171ffc3de16d4f34e03a2b8c296771f7015</id>
<content type='text'>
When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Because of this, lots of init functions do not need to have return
values, so this cleans up a lot of unused error handling code that never
could have triggered in the past.

Cc: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: remove an unused variable</title>
<updated>2018-05-31T10:44:39Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2018-05-28T15:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edf380046b0a726de26fc29015556a11288940ac'/>
<id>urn:sha1:edf380046b0a726de26fc29015556a11288940ac</id>
<content type='text'>
After the only users of this variable got removed, we now get a
warning about 'otg' being unused:

drivers/usb/musb/da8xx.c: In function 'da8xx_musb_interrupt':
drivers/usb/musb/da8xx.c:226:19: error: unused variable 'otg' [-Werror=unused-variable]

Fixes: d2852f2d3e6d ("usb: musb: remove references to default_a of struct usb_otg")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: gadget: fix to_musb_ep() to not return NULL</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-05-21T13:42:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddf12f04dc5b284133662f81a9c4c46a72d3c6ba'/>
<id>urn:sha1:ddf12f04dc5b284133662f81a9c4c46a72d3c6ba</id>
<content type='text'>
UDC core ensures the usb_ep parameter passed in is not NULL, so
checking if (ep != NULL) is pointless.

Convert to_musb_ep() to a simple macro to not directly return NULL to
avoid warnings from code static analysis tools.

Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: gadget: fix to_musb_request() to not return NULL</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-05-21T13:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dca51071849077e83ec85b7e5d46c84cee227d9'/>
<id>urn:sha1:8dca51071849077e83ec85b7e5d46c84cee227d9</id>
<content type='text'>
The gadget function drivers should ensure the usb_request parameter
passed in is not NULL. UDC core doesn't check if it is NULL, so MUSB
driver shouldn't have to check it either.

Convert to_musb_request() to a simple macro to not directly return NULL
to avoid warnings from code static analysis tools.

Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: musb: dsps: propagate device-tree node</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2018-05-21T13:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49484abd93ab259d5acb1ebf77d3041fe06abbdd'/>
<id>urn:sha1:49484abd93ab259d5acb1ebf77d3041fe06abbdd</id>
<content type='text'>
To be able to use DSPS-based controllers with device-tree descriptions
of the USB topology, we need to associate the glue device's device-tree
node with the child controller device.

Note that this can also be used to eventually let USB core manage
generic phys.

Also note that the other glue drivers will require similar changes to be
able to describe their buses in DT.

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: disable otg protocol support</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-05-21T13:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a9134bd733bbb99bd18f5520a488960170271f2'/>
<id>urn:sha1:0a9134bd733bbb99bd18f5520a488960170271f2</id>
<content type='text'>
As decided in the discussion [1] we are deleting the otg protocol
support from the musb drivers.

First this patch disables the flags for enabling the otg protocols. We
will later gradually delete the otg protocol code from the musb drivers.

[1] https://www.spinics.net/lists/linux-usb/msg167003.html

Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: remove references to default_a of struct usb_otg</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-05-21T13:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2852f2d3e6d6b9de3739f95b5cd9eab3157af37'/>
<id>urn:sha1:d2852f2d3e6d6b9de3739f95b5cd9eab3157af37</id>
<content type='text'>
musb drivers do not use the otg fsm framework, so referencing to
otg-&gt;default_a doesn't have any effect, so remove the references.

But tusb6010 glue driver uses it locally to control the vbus power, so
keep the references in tusb6010 only.

Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: break the huge isr musb_stage0_irq() into small functions</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-05-21T13:42:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcb8fd3a2fba82d5f53f9a598f9b5e14823dfb68'/>
<id>urn:sha1:bcb8fd3a2fba82d5f53f9a598f9b5e14823dfb68</id>
<content type='text'>
musb_stage0_irq() is 400+ lines long. Break its interrupt events
handling into each individual functions to make it easy to read.

Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: musb: remove unused members in struct musb_hdrc_config</title>
<updated>2018-05-22T10:03:25Z</updated>
<author>
<name>Bin Liu</name>
</author>
<published>2018-05-21T13:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bc2e05f925dda7caaec4b715f4a22cb58e23393'/>
<id>urn:sha1:2bc2e05f925dda7caaec4b715f4a22cb58e23393</id>
<content type='text'>
The following members in struct musb_hdrc_config are not used,
so remove them.

soft_con
utm_16
big_endian
mult_bulk_tx
mult_bulk_rx
high_iso_tx
high_iso_rx
dma
dma_channels
dyn_fifo_size
vendor_ctrl
vendor_stat
vendor_req
dma_req_chan
musb_hdrc_eps_bits

Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
