<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/gadget/function/f_midi.c, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-12-22T16:27:34Z</updated>
<entry>
<title>usb: gadget: fix misspelling of current function in string</title>
<updated>2014-12-22T16:27:34Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2014-12-07T19:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9b3bde03b95cf1cab068f773435cfee271baf0b'/>
<id>urn:sha1:c9b3bde03b95cf1cab068f773435cfee271baf0b</id>
<content type='text'>
Replace a misspelled function name by %s and then __func__.

This was done using Coccinelle, including the use of Levenshtein distance,
as proposed by Rasmus Villemoes.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: midi: f_midi_alloc() can be static</title>
<updated>2014-11-12T15:01:03Z</updated>
<author>
<name>Fengguang Wu</name>
</author>
<published>2014-11-12T13:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f509fee81fa205c664ea4e446b6d8a8caae38c35'/>
<id>urn:sha1:f509fee81fa205c664ea4e446b6d8a8caae38c35</id>
<content type='text'>
drivers/usb/gadget/function/f_midi.c:1072:21: sparse: symbol 'f_midi_alloc' was not declared. Should it be static?
drivers/usb/gadget/legacy/gmidi.c:118:30: sparse: symbol 'fi_midi' was not declared. Should it be static?
drivers/usb/gadget/legacy/gmidi.c:119:21: sparse: symbol 'f_midi' was not declared. Should it be static?

Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_midi: add configfs support</title>
<updated>2014-11-05T19:37:17Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-10-16T11:33:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f1de344557315a8e5de0d15a28276198ca7fdac'/>
<id>urn:sha1:6f1de344557315a8e5de0d15a28276198ca7fdac</id>
<content type='text'>
Make the midi function available for gadgets composed with configfs.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@samsung.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_midi: use usb_gstrings_attach</title>
<updated>2014-11-05T19:36:20Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-10-16T11:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9caa0d77f7ce6ca0ec6bb81e28a93db1b6287b0f'/>
<id>urn:sha1:9caa0d77f7ce6ca0ec6bb81e28a93db1b6287b0f</id>
<content type='text'>
In order to add configfs support the usb_gstrings_attach must be used.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@samsung.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_midi: remove compatibility layer</title>
<updated>2014-11-05T19:36:17Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-10-16T11:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33cfad66efbb72de0ebe72f554b31b6688957052'/>
<id>urn:sha1:33cfad66efbb72de0ebe72f554b31b6688957052</id>
<content type='text'>
There are no old f_midi interface users left, so remove it.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@samsung.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_midi: convert to new function interface with backward compatibility</title>
<updated>2014-11-05T19:36:09Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-10-16T11:33:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b85e9de9e818de0dcbc50b7b4242192eb6194855'/>
<id>urn:sha1:b85e9de9e818de0dcbc50b7b4242192eb6194855</id>
<content type='text'>
Converting midi to the new function interface requires converting
the USB midi's function code and its users.

This patch converts the f_midi.c to the new function interface.
The file can now be compiled into a separate usb_f_midi.ko module.

The old function interface is provided by means of a preprocessor
conditional directives. After all users are converted, the old interface
can be removed.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@samsung.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_midi: check kstrdup() return value</title>
<updated>2014-11-05T19:36:05Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-10-16T11:33:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9'/>
<id>urn:sha1:d23b4c3ee2d5cbdeaec9f8e7d8a9bdcc73836fb9</id>
<content type='text'>
kstrdup() might fail, so check its return value and react appropriately.

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@samsung.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: f_midi: enable use of the index parameter</title>
<updated>2014-11-05T19:36:02Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-10-16T11:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e58ed578e2c65442b7a02deecc96e482c701654'/>
<id>urn:sha1:6e58ed578e2c65442b7a02deecc96e482c701654</id>
<content type='text'>
The soundcard index to use for the ALSA device creation is passed as a
parameter to f_midi_bind_config(), but is assigned to midi-&gt;index only
after the call to f_midi_register_card(midi). So no matter what is passed
to f_midi_bind_config(), the actual index for snd_card_new() is always 0.
This probably works ok if at the moment of f_midi's bind there are no
other snd_cards, but if there are, it is not possible to bind f_midi.

This patch moves the assignment to a place before the call to
f_midi_register_card(midi).

Signed-off-by: Andrzej Pietrasiewicz &lt;andrzej.p@samsung.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: Gadget directory cleanup - group usb functions</title>
<updated>2014-07-16T17:50:36Z</updated>
<author>
<name>Andrzej Pietrasiewicz</name>
</author>
<published>2014-07-15T11:09:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00a2430ff07d4e0e0e7e24e02fd8adede333b797'/>
<id>urn:sha1:00a2430ff07d4e0e0e7e24e02fd8adede333b797</id>
<content type='text'>
The drivers/usb/gadget directory contains many files.
Files which are related can be distributed into separate directories.
This patch moves the USB functions implementations into a separate directory.

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