<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/dwc3/debugfs.c, branch v3.4.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/usb/dwc3/debugfs.c?h=v3.4.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/usb/dwc3/debugfs.c?h=v3.4.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-02-10T10:14:53Z</updated>
<entry>
<title>usb: dwc3: debugfs: fix off by one when entering testmode</title>
<updated>2012-02-10T10:14:53Z</updated>
<author>
<name>Gerard Cauvy</name>
<email>g-cauvy1@ti.com</email>
</author>
<published>2012-02-10T10:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=090725431b9636a0a59516ff0fe94933cf09a82b'/>
<id>urn:sha1:090725431b9636a0a59516ff0fe94933cf09a82b</id>
<content type='text'>
When implementing the USB2 testmode support via debugfs,
Felipe has committed a mistake when counting the number
of letters of some of the strings, resulting on an off
by one error which prevented some of the Test modes to
be entered properly.

This patch, fixes that mistake.

Signed-off-by: Gerard Cauvy &lt;g-cauvy1@ti.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: debugfs: fix error check</title>
<updated>2012-02-06T09:48:41Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2012-01-31T11:33:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c'/>
<id>urn:sha1:3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c</id>
<content type='text'>
debugfs APIs will return NULL if it fails
to create the file/directory we ask it to
create.

Instead of checking for IS_ERR(ptr) we must
check for !ptr.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: gadget: allow Link state changes via debugfs</title>
<updated>2012-02-06T09:48:25Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2012-01-02T17:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=138801aaa566ecb5a5739a85909b9ec7285efd70'/>
<id>urn:sha1:138801aaa566ecb5a5739a85909b9ec7285efd70</id>
<content type='text'>
This is very useful for low level link testing where
we might not have a USB Host stack, only a scope to
verify signal integrity.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: gadget: allow testmodes changes via debugfs</title>
<updated>2012-02-06T09:48:22Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2012-01-02T16:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=080d921fe7a8d27c07eba7723fe53a3bea100327'/>
<id>urn:sha1:080d921fe7a8d27c07eba7723fe53a3bea100327</id>
<content type='text'>
This is very useful for low level Link Testing where
we might not have a USB Host stack, only a scope to
verify signal integrity.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb</title>
<updated>2012-01-09T20:09:47Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-01-09T20:09:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=55b81e6f2795484ea8edf5805c95c007cacfa736'/>
<id>urn:sha1:55b81e6f2795484ea8edf5805c95c007cacfa736</id>
<content type='text'>
* 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (232 commits)
  USB: Add USB-ID for Multiplex RC serial adapter to cp210x.c
  xhci: Clean up 32-bit build warnings.
  USB: update documentation for usbmon
  usb: usb-storage doesn't support dynamic id currently, the patch disables the feature to fix an oops
  drivers/usb/class/cdc-acm.c: clear dangling pointer
  drivers/usb/dwc3/dwc3-pci.c: introduce missing kfree
  drivers/usb/host/isp1760-if.c: introduce missing kfree
  usb: option: add ZD Incorporated HSPA modem
  usb: ch9: fix up MaxStreams helper
  USB: usb-skeleton.c: cleanup open_count
  USB: usb-skeleton.c: fix open/disconnect race
  xhci: Properly handle COMP_2ND_BW_ERR
  USB: remove dead code from suspend/resume path
  USB: add quirk for another camera
  drivers: usb: wusbcore: Fix dependency for USB_WUSB
  xhci: Better debugging for critical host errors.
  xhci: Be less verbose during URB cancellation.
  xhci: Remove debugging about ring structure allocation.
  xhci: Remove debugging about toggling cycle bits.
  xhci: Remove debugging for individual transfers.
  ...
</content>
</entry>
<entry>
<title>usb: dwc3: fix sparse errors</title>
<updated>2011-12-12T09:48:29Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2011-11-04T10:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8becf2704415d2bf471a0a73ae84c3cc24da8a90'/>
<id>urn:sha1:8becf2704415d2bf471a0a73ae84c3cc24da8a90</id>
<content type='text'>
sparse caught three mistakes on this driver,
fix them:

drivers/usb/dwc3/ep0.c:806:29: warning: duplicate const
drivers/usb/dwc3/debugfs.c:481:15: warning: symbol 'dwc3_debugfs_init' \
	was not declared. Should it be static?
drivers/usb/dwc3/debugfs.c:518:16: warning: symbol 'dwc3_debugfs_exit' \
	was not declared. Should it be static?

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: fix few coding style problems</title>
<updated>2011-12-12T09:48:29Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2011-11-04T10:32:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=25b8ff68bf1d4954d4a9dcb4862c6b6a53cb09e2'/>
<id>urn:sha1:25b8ff68bf1d4954d4a9dcb4862c6b6a53cb09e2</id>
<content type='text'>
There were a few coding style issues with this driver
which are now fixed:

drivers/usb/dwc3/debugfs.c:48: WARNING: Use #include \
	&lt;linux/uaccess.h&gt; instead of &lt;asm/uaccess.h&gt;
drivers/usb/dwc3/debugfs.c:484: ERROR: space required \
	before the open brace '{'
drivers/usb/dwc3/ep0.c:261: WARNING: line over 80 characters
drivers/usb/dwc3/ep0.c:287: WARNING: suspect code indent \
	for conditional statements (16, 23)
drivers/usb/dwc3/gadget.c:749: WARNING: line over 80 characters
drivers/usb/dwc3/gadget.c:1267: WARNING: line over 80 characters
drivers/usb/dwc3/gadget.h:116: WARNING: line over 80 characters
drivers/usb/dwc3/io.h:42: WARNING: Use #include \
	&lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: use a helper function for operation mode setting</title>
<updated>2011-12-12T09:48:26Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>bigeasy@linutronix.de</email>
</author>
<published>2011-10-31T21:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3140e8cbfec18ecb9c9ef856933fdb98c09af1e8'/>
<id>urn:sha1:3140e8cbfec18ecb9c9ef856933fdb98c09af1e8</id>
<content type='text'>
There are two where need to set operational mode:
- during initialization while we decide to run in host,device or DRD
  mode
- at runtime via the debugfs interface.

This patch provides a new function which sets the operational mode and
moves its initialiation to the mode switch instead in the gadget code
itself.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: debugfs: hold the lock in during mode change</title>
<updated>2011-12-12T09:48:19Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>bigeasy@linutronix.de</email>
</author>
<published>2011-10-20T16:43:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c5537ea531d83b7d02ce2d52a5e2b90f526449d0'/>
<id>urn:sha1:c5537ea531d83b7d02ce2d52a5e2b90f526449d0</id>
<content type='text'>
The read and write operation is atomic and we need no locking around
this operations. What we need however is a lock that is held which
ensures that the content of the DWC3_GCTL has not been changed. With
this, the conten may have been change changed after the first but before
our write back.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: debugfs: add support for changing port mode</title>
<updated>2011-12-12T09:48:15Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2011-10-17T05:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0b9fe32deece53c9bc6d1e6d17a85ef1eb2e294b'/>
<id>urn:sha1:0b9fe32deece53c9bc6d1e6d17a85ef1eb2e294b</id>
<content type='text'>
This makes testing a lot easier when trying to
switch between host and device modes.

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