<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/gadget/udc, branch linux-4.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-12-09T19:31:21Z</updated>
<entry>
<title>usb: gadget: atmel_usba_udc: Expose correct device speed</title>
<updated>2015-12-09T19:31:21Z</updated>
<author>
<name>Douglas Gilbert</name>
</author>
<published>2015-11-16T18:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b380e1570a80c9f87aaab4201426859816380706'/>
<id>urn:sha1:b380e1570a80c9f87aaab4201426859816380706</id>
<content type='text'>
commit d134c48d889ddceadf4c990e6f3df16b816ed5d4 upstream.

Following changes that appeared in lk 4.0.0, the gadget udc driver for
some ARM based Atmel SoCs (e.g. at91sam9x5 and sama5d3 families)
incorrectly deduced full-speed USB link speed even when the hardware
had negotiated a high-speed link. The fix is to make sure that the
UDPHS Interrupt Enable Register value does not mask the SPEED bit
in the Interrupt Status Register.

For a mass storage gadget this problem lead to failures when the host
had a USB 3 port with the xhci_hcd driver. If the host was a USB 2
port using the ehci_hcd driver then the mass storage gadget worked
(but probably at a lower speed than it should have).

Signed-off-by: Douglas Gilbert &lt;dgilbert@interlog.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Fixes: 9870d895ad87 ("usb: atmel_usba_udc: Mask status with enabled irqs")
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: gadget: net2280: restore ep_cfg after defect7374 workaround</title>
<updated>2015-12-09T19:31:20Z</updated>
<author>
<name>Mian Yousaf Kaukab</name>
</author>
<published>2015-10-19T14:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3c606d2d0fad088b0c1fd191a9c161a5e48a39a'/>
<id>urn:sha1:e3c606d2d0fad088b0c1fd191a9c161a5e48a39a</id>
<content type='text'>
commit 81e9d14a53eb1abfbe6ac828a87a2deb4702b5f1 upstream.

Defect 7374 workaround enables all GPEP as endpoint 0. Restore
endpoint number when defect 7374 workaround is disabled. Otherwise,
check to match USB endpoint number to hardware endpoint number in
net2280_enable() fails.

Reported-by: Paul Jones &lt;p.jones@teclyn.com&gt;
Signed-off-by: Mian Yousaf Kaukab &lt;yousaf.kaukab@intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: gadget: m66592-udc: forever loop in set_feature()</title>
<updated>2015-09-21T17:10:52Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2015-07-29T21:30:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e07a319b155824ce74496798a2e73a84c4ef025'/>
<id>urn:sha1:8e07a319b155824ce74496798a2e73a84c4ef025</id>
<content type='text'>
commit 5feb5d2003499b1094d898c010a7604d7afddc4c upstream.

There is an "&amp;&amp;" vs "||" typo here so this loops 3000 times or if we get
unlucky it could loop forever.

Fixes: ceaa0a6eeadf ('usb: gadget: m66592-udc: add support for TEST_MODE')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: udc: core: add device_del() call to error pathway</title>
<updated>2015-08-03T14:54:18Z</updated>
<author>
<name>Alan Stern</name>
</author>
<published>2015-01-16T16:32:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c93e64e91248becd0edb8f01723dff9da890e2ab'/>
<id>urn:sha1:c93e64e91248becd0edb8f01723dff9da890e2ab</id>
<content type='text'>
This patch fixes a bug in the error pathway of
usb_add_gadget_udc_release() in udc-core.c.  If the udc registration
fails, the gadget registration is not fully undone; there's a
put_device(&amp;gadget-&gt;dev) call but no device_del().

CC: &lt;stable@vger.kernel.org&gt;
Acked-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: bdc: fix a driver crash on disconnect</title>
<updated>2015-07-27T15:15:06Z</updated>
<author>
<name>Al Cooper</name>
</author>
<published>2015-07-24T20:09:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02c3b4c75994888e58a6e6e8176640cde9822597'/>
<id>urn:sha1:02c3b4c75994888e58a6e6e8176640cde9822597</id>
<content type='text'>
ep_dequeue() in bdc_ep.c was capturing the hw dequeue pointer
incorrectly by reading the wrong register for the upper 32 bits.

Signed-off-by: Al Cooper &lt;alcooperx@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU</title>
<updated>2015-07-20T17:57:46Z</updated>
<author>
<name>Yoshihiro Shimoda</name>
</author>
<published>2015-07-13T09:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ace8fc8219e4cbbfd5b4790390d9a01a2541cdf'/>
<id>urn:sha1:7ace8fc8219e4cbbfd5b4790390d9a01a2541cdf</id>
<content type='text'>
The dma_map_single and dma_unmap_single should set "gadget-&gt;dev.parent"
instead of "&amp;gadget-&gt;dev" in the first argument because the parent has
a udc controller's device pointer.
Otherwise, iommu functions are not called in ARM environment.

Signed-off-by: Yoshihiro Shimoda &lt;yoshihiro.shimoda.uh@renesas.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: mv_udc_core: fix phy_regs I/O memory leak</title>
<updated>2015-07-20T17:57:46Z</updated>
<author>
<name>Alexey Khoroshilov</name>
</author>
<published>2015-07-19T16:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53e20f2eb161fbe9eea28b54dccc870cec94eca2'/>
<id>urn:sha1:53e20f2eb161fbe9eea28b54dccc870cec94eca2</id>
<content type='text'>
There was an omission in transition to devm_xxx resource handling.
iounmap(udc-&gt;phy_regs) were removed, but ioremap() was left
without devm_.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Fixes: 3517c31a8ece6 ("usb: gadget: mv_udc: use devm_xxx for probe")
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: fix free_irq() after request_irq() failed</title>
<updated>2015-07-06T17:34:08Z</updated>
<author>
<name>Takeshi Yoshimura</name>
</author>
<published>2015-06-14T07:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2184fe636b4e310cba52251971cee82cb2407a68'/>
<id>urn:sha1:2184fe636b4e310cba52251971cee82cb2407a68</id>
<content type='text'>
My static checker detected the mistake. I fix this by changing "goto
err_irq" to "goto err_req". The label err_irq is not used now
so this patch also removes it.

Signed-off-by: Takeshi Yoshimura &lt;yos@sslab.ics.keio.ac.jp&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>Merge 4.1-rc7 into usb-next</title>
<updated>2015-06-08T17:57:51Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2015-06-08T17:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19915e623458004547c1c2490b09bb923fe69337'/>
<id>urn:sha1:19915e623458004547c1c2490b09bb923fe69337</id>
<content type='text'>
This resolves a merge issue in musb_core.c and we want the fixes that
were in Linus's tree in this branch as well for testing.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'usb-for-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next</title>
<updated>2015-06-02T01:47:03Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2015-06-02T01:47:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e152813ff5fea74094ae296367f477411df1ba24'/>
<id>urn:sha1:e152813ff5fea74094ae296367f477411df1ba24</id>
<content type='text'>
Felipe writes:

usb: patches for v4.2 merge window

- dwc2 adds hibernation support
- preparation for sunxi glue to musb driver
- new ULPI bus
- new ULPI PHY driver for TUSB1210
- musb patches to support multiple DMA engines on same binary
- support for R-Car E2 on renesas_usbhs

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
</feed>
