<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/pci/echoaudio/echoaudio.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-22T21:37:17Z</updated>
<entry>
<title>ALSA: echoaudio: Fix memory allocation</title>
<updated>2016-08-22T21:37:17Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2016-06-27T19:06:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92d6a07d168692736cca3fb0d8d22ad479d18669'/>
<id>urn:sha1:92d6a07d168692736cca3fb0d8d22ad479d18669</id>
<content type='text'>
commit 9c6795a9b3cbb56a9fbfaf43909c5c22999ba317 upstream.

'commpage_bak' is allocated with 'sizeof(struct echoaudio)' bytes.
We then copy 'sizeof(struct comm_page)' bytes in it.
On my system, smatch complains because one is 2960 and the other is 3072.

This would result in memory corruption or a oops.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>sound: Add module.h to the previously silent sound users</title>
<updated>2011-10-31T23:31:21Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-15T16:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da155d5b40587815a4397e1a69382fe2366d940b'/>
<id>urn:sha1:da155d5b40587815a4397e1a69382fe2366d940b</id>
<content type='text'>
Lots of sound drivers were getting module.h via the implicit presence
of it in &lt;linux/device.h&gt; but we are going to clean that up.  So
fix up those users now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/*</title>
<updated>2011-06-10T14:36:37Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2011-06-10T14:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=934c2b6d0cb50f9014ba0f10241e062a3bfc462d'/>
<id>urn:sha1:934c2b6d0cb50f9014ba0f10241e062a3bfc462d</id>
<content type='text'>
The name argument of request_irq() appears in /proc/interrupts, and
it's quite ugly when the name entry contains a space or special letters.
In general, it's simpler and more readable when the module name appears
there, so let's replace all entries with KBUILD_MODNAME.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Use KBUILD_MODNAME for pci_driver.name entries</title>
<updated>2011-06-10T14:20:20Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2011-06-10T14:20:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3733e424c4fcd8edff2090f0628f4fd245daddb5'/>
<id>urn:sha1:3733e424c4fcd8edff2090f0628f4fd245daddb5</id>
<content type='text'>
The convention for pci_driver.name entry in kernel drivers seem to be
the module name or equivalent ones.  But, so far, almost all PCI sound
drivers use more verbose name like "ABC Xyz (12)", and these are fairly
confusing when appearing as a file name.

This patch converts the all pci_driver.name entries in sound/pci/* to
use KBUILD_MODNAME for more unified appearance.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: echoaudio: check kmalloc() result</title>
<updated>2010-07-19T15:59:04Z</updated>
<author>
<name>Kulikov Vasiliy</name>
</author>
<published>2010-07-16T16:15:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b6d092c8eeeb43893503afd2f6c1c67ceafc863'/>
<id>urn:sha1:0b6d092c8eeeb43893503afd2f6c1c67ceafc863</id>
<content type='text'>
If kmalloc() fails exit with -ENOMEM.

Signed-off-by: Kulikov Vasiliy &lt;segooon@gmail.com&gt;
Ack-by: Giuliano Pochini &lt;pochini@shiny.it&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: echoaudio - Eliminate use after free</title>
<updated>2010-04-04T10:21:42Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2010-04-02T12:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0fd4345f928d72a56e27b23e4cd28c94bf36be5'/>
<id>urn:sha1:a0fd4345f928d72a56e27b23e4cd28c94bf36be5</id>
<content type='text'>
Use the call to snd_card_free in the error handling code at the end of the
function, as in the other error cases.

A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression E,E2;
@@

snd_card_free(E)
...
(
  E = E2
|
* E
)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix/misc' into topic/misc</title>
<updated>2010-02-17T13:24:46Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2010-02-17T13:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7fb3a069bc5d3577409c2ae89f89cd264ff85816'/>
<id>urn:sha1:7fb3a069bc5d3577409c2ae89f89cd264ff85816</id>
<content type='text'>
Conflicts:
	sound/pci/hda/patch_realtek.c
</content>
</entry>
<entry>
<title>ALSA: Echoaudio, fix Guru Meditation #00000005.48454C50</title>
<updated>2010-02-17T12:02:29Z</updated>
<author>
<name>Giuliano Pochini</name>
</author>
<published>2010-02-16T23:57:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b721e68bdc5b39c51bf6a1469f8d3663fbe03243'/>
<id>urn:sha1:b721e68bdc5b39c51bf6a1469f8d3663fbe03243</id>
<content type='text'>
This patch fixes a division by zero error in the irq handler.

There is a small window between the hw_params() callback and when
runtime-&gt;frame_bits is set by ALSA middle layer. When another substream is
already running, if an interrupt is delivered during that window the irq
handler calls pcm_pointer() which does a division by zero. The patch below
makes the irq handler skip substreams that are initialized but not started
yet. Cc to Clemens Ladisch because he proposed an alternate fix.

For more information, please read the original thread in the linux-kernel
mailing list: http://lkml.org/lkml/2010/2/2/187

Signed-off-by: Giuliano Pochini &lt;pochini@shiny.it&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Echoaudio - Add suspend support #2</title>
<updated>2010-02-15T09:40:15Z</updated>
<author>
<name>Giuliano Pochini</name>
</author>
<published>2010-02-14T17:16:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47b5d028fdce8f809bf22852ac900338fb90e8aa'/>
<id>urn:sha1:47b5d028fdce8f809bf22852ac900338fb90e8aa</id>
<content type='text'>
This patch adds rearranges parts of the initialization code and adds
suspend and resume callbacks.

This patch adds suspend and resume callbacks.
It also rearranges parts of the initialization code so it can be
used in both the first initialization (when the module is loaded we
also have to load default settings) and the resume callback (where
we have to restore the previous settings).

Signed-off-by: Giuliano Pochini &lt;pochini@shiny.it&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Echoaudio - Add firmware cache #2</title>
<updated>2010-02-15T09:38:10Z</updated>
<author>
<name>Giuliano Pochini</name>
</author>
<published>2010-02-14T17:15:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f8ada444cc7a7ea70cdc81f098b34c5f1f2df41'/>
<id>urn:sha1:4f8ada444cc7a7ea70cdc81f098b34c5f1f2df41</id>
<content type='text'>
This patch implements a simple cache for the firmware files when CONFIG_PM is defined.

This patch changes get_firmware(), free_firmware() and adds
free_firmware_cache(). The first two functions implement a very
simple cache and the latter is used to actually release all the stored
firmwares when the module is unloaded. 
When CONFIG_PM is not enabled those functions act as before, that is
free_firmware() releases the firmware immediately and
free_firmware_cache() does nothing.

Signed-off-by: Giuliano Pochini &lt;pochini@shiny.it&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
