<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/usb/gadget, branch v3.2-rc1</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.2-rc1</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.2-rc1'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2011-10-31T23:31:25+00:00</updated>
<entry>
<title>usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed</title>
<updated>2011-10-31T23:31:25+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-05-27T13:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f940fcd8eadfe5b909a1474b57de7755edeee62b'/>
<id>urn:sha1:f940fcd8eadfe5b909a1474b57de7755edeee62b</id>
<content type='text'>
With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Use the lightweight version of the header that has just THIS_MODULE
and EXPORT_SYMBOL variants.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>usb: Add module.h to drivers/usb consumers who really use it.</title>
<updated>2011-10-31T23:31:25+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-03T20:09:31+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6eb0de827084060e6607c8f8542d9e9566214538'/>
<id>urn:sha1:6eb0de827084060e6607c8f8542d9e9566214538</id>
<content type='text'>
The situation up to this point meant that module.h was pretty
much everywhere, regardless of whether you asked for it or not.
We are fixing that, so give the USB folks who want it an actual
include of it.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb</title>
<updated>2011-10-25T10:23:15+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-10-25T10:23:15+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=1be025d3cb40cd295123af2c394f7229ef9b30ca'/>
<id>urn:sha1:1be025d3cb40cd295123af2c394f7229ef9b30ca</id>
<content type='text'>
* 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (260 commits)
  usb: renesas_usbhs: fixup inconsistent return from usbhs_pkt_push()
  usb/isp1760: Allow to optionally trigger low-level chip reset via GPIOLIB.
  USB: gadget: midi: memory leak in f_midi_bind_config()
  USB: gadget: midi: fix range check in f_midi_out_open()
  QE/FHCI: fixed the CONTROL bug
  usb: renesas_usbhs: tidyup for smatch warnings
  USB: Fix USB Kconfig dependency problem on 85xx/QoirQ platforms
  EHCI: workaround for MosChip controller bug
  usb: gadget: file_storage: fix race on unloading
  USB: ftdi_sio.c: Use ftdi async_icount structure for TIOCMIWAIT, as in other drivers
  USB: ftdi_sio.c:Fill MSR fields of the ftdi async_icount structure
  USB: ftdi_sio.c: Fill LSR fields of the ftdi async_icount structure
  USB: ftdi_sio.c:Fill TX field of the ftdi async_icount structure
  USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure
  USB: ftdi_sio.c: Basic icount infrastructure for ftdi_sio
  usb/isp1760: Let OF bindings depend on general CONFIG_OF instead of PPC_OF .
  USB: ftdi_sio: Support TI/Luminary Micro Stellaris BD-ICDI Board
  USB: Fix runtime wakeup on OHCI
  xHCI/USB: Make xHCI driver have a BOS descriptor.
  usb: gadget: add new usb gadget for ACM and mass storage
  ...
</content>
</entry>
<entry>
<title>USB: gadget: midi: memory leak in f_midi_bind_config()</title>
<updated>2011-10-18T20:51:35+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2011-10-18T06:25:34+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0f8fd43c42f2cc249943be76a4db0d058c16b6dc'/>
<id>urn:sha1:0f8fd43c42f2cc249943be76a4db0d058c16b6dc</id>
<content type='text'>
There is a small memory leak on the error paths.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: gadget: midi: fix range check in f_midi_out_open()</title>
<updated>2011-10-18T20:51:35+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2011-10-18T06:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0889551267e7b6b4d27dc9f726f3d0cb0d976105'/>
<id>urn:sha1:0889551267e7b6b4d27dc9f726f3d0cb0d976105</id>
<content type='text'>
! has higher precedence than &gt;= and since neither 0 nor 1 are greater
than 8 the condition is always false.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Daniel Mack &lt;zonque@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb: gadget: file_storage: fix race on unloading</title>
<updated>2011-10-18T20:49:17+00:00</updated>
<author>
<name>Yauheni Kaliuta</name>
<email>yauheni.kaliuta@nokia.com</email>
</author>
<published>2011-10-13T11:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=91960c2ef095c4b0744349e80a933921cbdcfd6e'/>
<id>urn:sha1:91960c2ef095c4b0744349e80a933921cbdcfd6e</id>
<content type='text'>
There is a race, reproduced rarely if you unload the module
when host finishes mass storage device initialization (reading
partition table and so on): fsg_unbind() code first closes
lun files then waits for worker thread to finish its work, as
the result the thread may operate on already closed device
with an oops and backtrace:

[  484.937225] [&lt;b00e403c&gt;] (touch_atime+0x4/0x140) from [&lt;b00a1498&gt;] (generic_file_aio_read+0x678/0x6f0)
[  484.946563] [&lt;b00a1498&gt;] (generic_file_aio_read+0x678/0x6f0) from [&lt;b00d08c4&gt;] (do_sync_read+0xb0/0xf4)
[  484.955963] [&lt;b00d08c4&gt;] (do_sync_read+0xb0/0xf4) from [&lt;b00d1478&gt;] (vfs_read+0xac/0x144)
[  484.964172] [&lt;b00d1478&gt;] (vfs_read+0xac/0x144) from [&lt;af24c6a8&gt;] (fsg_setup+0x7f4/0x900 [g_file_storage])
[  484.973785] [&lt;af24c6a8&gt;] (fsg_setup+0x7f4/0x900 [g_file_storage]) from [&lt;af24da14&gt;] (fsg_main_thread+0x85c/0x175c [g_file_storage])
[  484.985626] [&lt;af24da14&gt;] (fsg_main_thread+0x85c/0x175c [g_file_storage]) from [&lt;b0077c48&gt;] (kthread+0x7c/0x84)
[  484.995666] [&lt;b0077c48&gt;] (kthread+0x7c/0x84) from [&lt;b002f950&gt;] (kernel_thread_exit+0x0/0x8)
[  485.004028] Code: eaffffd0 e28dd008 e8bd8df0 e92d40f7 (e591400c)

Change the order in unbind: wait for the thread first, then close
the files.

Signed-off-by: Yauheni Kaliuta &lt;yauheni.kaliuta@nokia.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb: gadget: add new usb gadget for ACM and mass storage</title>
<updated>2011-10-13T17:46:27+00:00</updated>
<author>
<name>Klaus Schwarzkopf</name>
<email>schwarzkopf@sensortherm.de</email>
</author>
<published>2011-10-10T08:32:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=fa3ae0c158c70e6cf227b3a194659ee7fed8c588'/>
<id>urn:sha1:fa3ae0c158c70e6cf227b3a194659ee7fed8c588</id>
<content type='text'>
This driver provides two functions in one configuration:
a mass storage, and a ACM (serial port) link.
Heavily based on multi.c and cdc2.c

Signed-off-by: Klaus Schwarzkopf &lt;schwarzkopf@sensortherm.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: mv_udc: fix compile warning</title>
<updated>2011-10-13T17:42:10+00:00</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2011-10-13T17:27:54+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=431879a762277ddb9df959bba80216f3ef3d8e17'/>
<id>urn:sha1:431879a762277ddb9df959bba80216f3ef3d8e17</id>
<content type='text'>
| drivers/usb/gadget/mv_udc_core.c: In function 'handle_setup_packet':
| drivers/usb/gadget/mv_udc_core.c:1556:6: warning: 'status' may be \
	used uninitialized in this function

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: mv_udc: add clock gating support</title>
<updated>2011-10-13T17:42:09+00:00</updated>
<author>
<name>Neil Zhang</name>
<email>zhangwm@marvell.com</email>
</author>
<published>2011-10-12T08:49:39+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=1aec033b955ba358dbf365aa7d0bbd49079c8559'/>
<id>urn:sha1:1aec033b955ba358dbf365aa7d0bbd49079c8559</id>
<content type='text'>
This patch is going to support clock gating when vbus detection is
posible. Clock and phy will be on only when usb gadget is used(vbus valid).

Signed-off-by: Neil Zhang &lt;zhangwm@marvell.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: mv_udc: add test mode support</title>
<updated>2011-10-13T17:42:08+00:00</updated>
<author>
<name>Neil Zhang</name>
<email>zhangwm@marvell.com</email>
</author>
<published>2011-10-12T08:49:38+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=fb22cbac8242e92d643e5d5cb81bc6307fa6fc9c'/>
<id>urn:sha1:fb22cbac8242e92d643e5d5cb81bc6307fa6fc9c</id>
<content type='text'>
Add test mode support for marvell udc driver.

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