<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/gadget/udc, branch linux-5.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-10-29T09:08:30Z</updated>
<entry>
<title>usb: gadget: bcm63xx_udc: fix up the error of undeclared usb_debug_root</title>
<updated>2020-10-29T09:08:30Z</updated>
<author>
<name>Chunfeng Yun</name>
</author>
<published>2020-09-14T06:17:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f7ebf3355acdc3d30e365a805c2748dbac244bb'/>
<id>urn:sha1:3f7ebf3355acdc3d30e365a805c2748dbac244bb</id>
<content type='text'>
commit 5b35dd1a5a666329192a9616ec21098591259058 upstream.

Fix up the build error caused by undeclared usb_debug_root

Cc: stable &lt;stable@vger.kernel.org&gt;
Fixes: a66ada4f241c ("usb: gadget: bcm63xx_udc: create debugfs directory under usb root")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Chunfeng Yun &lt;chunfeng.yun@mediatek.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>usb: bdc: Halt controller on suspend</title>
<updated>2020-08-19T06:26:21Z</updated>
<author>
<name>Danesh Petigara</name>
</author>
<published>2020-07-22T17:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f92047fea41b49d906e652020861cec78f68f04'/>
<id>urn:sha1:2f92047fea41b49d906e652020861cec78f68f04</id>
<content type='text'>
[ Upstream commit 5fc453d7de3d0c345812453823a3a56783c5f82c ]

GISB bus error kernel panics have been observed during S2 transition
tests on the 7271t platform. The errors are a result of the BDC
interrupt handler trying to access BDC register space after the
system's suspend callbacks have completed.

Adding a suspend hook to the BDC driver that halts the controller before
S2 entry thus preventing unwanted access to the BDC register space during
this transition.

Signed-off-by: Danesh Petigara &lt;danesh.petigara@broadcom.com&gt;
Signed-off-by: Al Cooper &lt;alcooperx@gmail.com&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>bdc: Fix bug causing crash after multiple disconnects</title>
<updated>2020-08-19T06:26:21Z</updated>
<author>
<name>Sasi Kumar</name>
</author>
<published>2020-07-22T17:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8415df3d6eb1ad078c70c3838a650f7b612f27ba'/>
<id>urn:sha1:8415df3d6eb1ad078c70c3838a650f7b612f27ba</id>
<content type='text'>
[ Upstream commit a95bdfd22076497288868c028619bc5995f5cc7f ]

Multiple connects/disconnects can cause a crash on the second
disconnect. The driver had a problem where it would try to send
endpoint commands after it was disconnected which is not allowed
by the hardware. The fix is to only allow the endpoint commands
when the endpoint is connected. This will also fix issues that
showed up when using configfs to create gadgets.

Signed-off-by: Sasi Kumar &lt;sasi.kumar@broadcom.com&gt;
Signed-off-by: Al Cooper &lt;alcooperx@gmail.com&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: net2280: fix memory leak on probe error handling paths</title>
<updated>2020-08-19T06:26:21Z</updated>
<author>
<name>Evgeny Novikov</name>
</author>
<published>2020-07-21T20:15:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7677cbd18b99568993e79941c3d2e272db970a7d'/>
<id>urn:sha1:7677cbd18b99568993e79941c3d2e272db970a7d</id>
<content type='text'>
[ Upstream commit 2468c877da428ebfd701142c4cdfefcfb7d4c00e ]

Driver does not release memory for device on error handling paths in
net2280_probe() when gadget_release() is not registered yet.

The patch fixes the bug like in other similar drivers.

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

Signed-off-by: Evgeny Novikov &lt;novikov@ispras.ru&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: atmel: fix uninitialized read in debug printk</title>
<updated>2020-07-09T07:13:07Z</updated>
<author>
<name>Michał Mirosław</name>
</author>
<published>2020-05-28T18:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30517ffeb3bff842e1355cbc32f1959d9dbb5414'/>
<id>urn:sha1:30517ffeb3bff842e1355cbc32f1959d9dbb5414</id>
<content type='text'>
Fixed commit moved the assignment of 'req', but did not update a
reference in the DBG() call. Use the argument as it was renamed.

Fixes: 5fb694f96e7c ("usb: gadget: udc: atmel: fix possible oops when unloading module")
Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: atmel: remove outdated comment in usba_ep_disable()</title>
<updated>2020-07-09T07:13:07Z</updated>
<author>
<name>Michał Mirosław</name>
</author>
<published>2020-05-28T18:35:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9706247d94165ef9d6f7f00308e1cd7e0cc9251d'/>
<id>urn:sha1:9706247d94165ef9d6f7f00308e1cd7e0cc9251d</id>
<content type='text'>
Fixed commit removed the offending behaviour from the driver, but missed
the comment and associated test. Remove them now.

Fixes: 38e58986e6fc ("usb: gadget: udc: atmel: don't disable enpdoints we don't own")
Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()</title>
<updated>2020-07-09T07:13:07Z</updated>
<author>
<name>Evgeny Novikov</name>
</author>
<published>2020-06-26T13:17:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99'/>
<id>urn:sha1:c8f8529e2c4141afa2ebb487ad48e8a6ec3e8c99</id>
<content type='text'>
gr_ep_init() does not assign the allocated request anywhere if allocation
of memory for the buffer fails. This is a memory leak fixed by the given
patch.

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

Signed-off-by: Evgeny Novikov &lt;novikov@ispras.ru&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: Potential Oops in error handling code</title>
<updated>2020-06-24T06:45:58Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2020-06-15T11:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e55f3c37cb8d31c7e301f46396b2ac6a19eb3a7c'/>
<id>urn:sha1:e55f3c37cb8d31c7e301f46396b2ac6a19eb3a7c</id>
<content type='text'>
If this is in "transceiver" mode the the -&gt;qwork isn't required and is
a NULL pointer.  This can lead to a NULL dereference when we call
destroy_workqueue(udc-&gt;qwork).

Fixes: 3517c31a8ece ("usb: gadget: mv_udc: use devm_xxx for probe")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'usb-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next</title>
<updated>2020-05-25T11:28:20Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2020-05-25T11:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca681aa49200422a4144ee376a2079a9f717bf11'/>
<id>urn:sha1:ca681aa49200422a4144ee376a2079a9f717bf11</id>
<content type='text'>
Felipe writes:

USB: changes for v5.8 merge window

Rather busy cycle. We have a total 99 non-merge commits going into v5.8
merge window. The majority of the changes are in dwc3 this around (31.7%
of all changes). It's composed mostly Thinh's recent updates to get dwc3
to behave correctly with stream transfers. We have also have Roger's for
Keystone platforms and Neil's updates for the meson glue layer.

Apart from those, we have the usual set of non-critical fixes, new
device IDs, spelling fixes all over the place.

Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;

* tag 'usb-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb: (99 commits)
  usb: dwc3: keystone: Turn on USB3 PHY before controller
  dt-bindings: usb: ti,keystone-dwc3.yaml: Add USB3.0 PHY property
  dt-bindings: usb: convert keystone-usb.txt to YAML
  usb: dwc3: gadget: Check for prepared TRBs
  usb: gadget: Fix issue with config_ep_by_speed function
  usb: cdns3: ep0: delete the redundant status stage
  usb: dwc2: Update Core Reset programming flow.
  usb: gadget: fsl: Fix a wrong judgment in fsl_udc_probe()
  usb: gadget: fix potential double-free in m66592_probe.
  usb: cdns3: Fix runtime PM imbalance on error
  usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
  usb: dwc3: Increase timeout for CmdAct cleared by device controller
  USB: dummy-hcd: use configurable endpoint naming scheme
  usb: cdns3: gadget: assign interrupt number to USB gadget structure
  usb: gadget: core: sync interrupt before unbind the udc
  arm64: dts: qcom: sc7180: Add interconnect properties for USB
  arm64: dts: qcom: sdm845: Add interconnect properties for USB
  dt-bindings: usb: qcom,dwc3: Introduce interconnect properties for Qualcomm DWC3 driver
  ARM: dts: at91: Remove the USB EP child node
  dt-bindings: usb: atmel: Mark EP child node as deprecated
  ...
</content>
</entry>
<entry>
<title>usb: gadget: fsl: Fix a wrong judgment in fsl_udc_probe()</title>
<updated>2020-05-25T08:09:43Z</updated>
<author>
<name>Tang Bin</name>
</author>
<published>2020-04-10T01:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cda340a455b425f7df9657aaaa78a75757d940d'/>
<id>urn:sha1:4cda340a455b425f7df9657aaaa78a75757d940d</id>
<content type='text'>
If the function "platform_get_irq()" failed, the negative value
returned will not be detected here, including "-EPROBE_DEFER", which
causes the application to fail to get the correct error message.
Thus it must be fixed.

Acked-by: Li Yang &lt;leoyang.li@nxp.com&gt;
Signed-off-by: Tang Bin &lt;tangbin@cmss.chinamobile.com&gt;
Signed-off-by: Shengju Zhang &lt;zhangshengju@cmss.chinamobile.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@kernel.org&gt;
</content>
</entry>
</feed>
