<feed xmlns='http://www.w3.org/2005/Atom'>
<title>litmus-rt.git/sound, branch v2.6.27</title>
<subtitle>The LITMUS^RT kernel.</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/'/>
<entry>
<title>Merge branch 'asoc-fixes' into for-linus</title>
<updated>2008-10-02T10:50:50+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2008-10-02T10:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=591d8a25c7c242f6b00be120ed378e585a5afb47'/>
<id>591d8a25c7c242f6b00be120ed378e585a5afb47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: snd-powermac: HP detection for 1st iMac G3 SL</title>
<updated>2008-10-02T10:50:37+00:00</updated>
<author>
<name>Risto Suominen</name>
<email>Risto.Suominen@gmail.com</email>
</author>
<published>2008-08-25T06:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=030b655b062fe5190fc490e0091ea50307d7a86f'/>
<id>030b655b062fe5190fc490e0091ea50307d7a86f</id>
<content type='text'>
Correct headphone detection for 1st generation iMac G3 Slot-loading (Screamer).

This patch fixes the regression in the recent snd-powermac which
doesn't support some G3/G4 PowerMacs:
    http://lkml.org/lkml/2008/10/1/220

Signed-off-by: Risto Suominen &lt;Risto.Suominen@gmail.com&gt;
Tested-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct headphone detection for 1st generation iMac G3 Slot-loading (Screamer).

This patch fixes the regression in the recent snd-powermac which
doesn't support some G3/G4 PowerMacs:
    http://lkml.org/lkml/2008/10/1/220

Signed-off-by: Risto Suominen &lt;Risto.Suominen@gmail.com&gt;
Tested-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: snd-powermac: mixers for PowerMac G4 AGP</title>
<updated>2008-10-02T10:50:04+00:00</updated>
<author>
<name>Risto Suominen</name>
<email>Risto.Suominen@gmail.com</email>
</author>
<published>2008-08-25T06:02:12+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=4dbf95ba6c344186ec6d38ff514dc675da464bec'/>
<id>4dbf95ba6c344186ec6d38ff514dc675da464bec</id>
<content type='text'>
Add mixer controls for PowerMac G4 AGP (Screamer).

This patch fixes the regression in the recent snd-powermac which
doesn't support some G3/G4 PowerMacs:
    http://lkml.org/lkml/2008/10/1/220

Signed-off-by: Risto Suominen &lt;Risto.Suominen@gmail.com&gt;
Tested-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add mixer controls for PowerMac G4 AGP (Screamer).

This patch fixes the regression in the recent snd-powermac which
doesn't support some G3/G4 PowerMacs:
    http://lkml.org/lkml/2008/10/1/220

Signed-off-by: Risto Suominen &lt;Risto.Suominen@gmail.com&gt;
Tested-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ASoC: Set correct name for WM8753 rec mixer output</title>
<updated>2008-10-02T10:27:43+00:00</updated>
<author>
<name>Rob Sims</name>
<email>openmoko-z@robsims.com</email>
</author>
<published>2008-10-01T19:47:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=4037314afc6eea3eab7e0447884c12b57a081f63'/>
<id>4037314afc6eea3eab7e0447884c12b57a081f63</id>
<content type='text'>
Rob Sims wrote:

"I can't seem to turn on register 0x17, bit 3 in the sound chip, except
by codec_reg_write; the mixer lacks direct or indirect control.  It
seems there are two names for the output of the rec mixer:
Capture ST Mixer
Playback Mixer

Would the following do the trick?"

I confirm that this solves the audio problems I was having.

Signed-off-by: Jonas Bonn &lt;jonas.bonn@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rob Sims wrote:

"I can't seem to turn on register 0x17, bit 3 in the sound chip, except
by codec_reg_write; the mixer lacks direct or indirect control.  It
seems there are two names for the output of the rec mixer:
Capture ST Mixer
Playback Mixer

Would the following do the trick?"

I confirm that this solves the audio problems I was having.

Signed-off-by: Jonas Bonn &lt;jonas.bonn@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: hda - Fix model for Dell Inspiron 1525</title>
<updated>2008-09-30T11:04:59+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2008-09-30T10:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=24918b61b55c21e09a3e07cd82e1b3a8154782dc'/>
<id>24918b61b55c21e09a3e07cd82e1b3a8154782dc</id>
<content type='text'>
Dell Inspiron 1525 seems to have a buggy BIOS setup and screws up
the recent codec parser, as reported by Oleksandr Natalenko:
    http://lkml.org/lkml/2008/9/12/203

This patch adds the working model, dell-3stack, statically.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Cc: &lt;stable@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dell Inspiron 1525 seems to have a buggy BIOS setup and screws up
the recent codec parser, as reported by Oleksandr Natalenko:
    http://lkml.org/lkml/2008/9/12/203

This patch adds the working model, dell-3stack, statically.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Cc: &lt;stable@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: ASoC: Fix cs4270 error path</title>
<updated>2008-09-30T10:47:12+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2008-09-30T09:40:37+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=e3145dfb7b4262fa55907006b75da799de8c1be3'/>
<id>e3145dfb7b4262fa55907006b75da799de8c1be3</id>
<content type='text'>
The error path in cs4270_probe/cs4270_remove is pretty broken:
* If cs4270_probe fails, codec is leaked.
* If snd_soc_register_card fails, cs4270_i2c_driver stays registered.
* If I2C support is enabled but no I2C device is found, i2c_del_driver
  is never called (neither in cs4270_probe nor in cs4270_remove.

Fix all 3 problems by implementing a clean error path in cs4270_probe
and jumping to its labels as needed.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The error path in cs4270_probe/cs4270_remove is pretty broken:
* If cs4270_probe fails, codec is leaked.
* If snd_soc_register_card fails, cs4270_i2c_driver stays registered.
* If I2C support is enabled but no I2C device is found, i2c_del_driver
  is never called (neither in cs4270_probe nor in cs4270_remove.

Fix all 3 problems by implementing a clean error path in cs4270_probe
and jumping to its labels as needed.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: ASoC: Fix another cs4270 error path</title>
<updated>2008-09-29T10:53:24+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2008-09-27T18:30:52+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=9778e9a0eafe796c2affcd1fa1fa8a3765e026e6'/>
<id>9778e9a0eafe796c2affcd1fa1fa8a3765e026e6</id>
<content type='text'>
Conversion to new-style i2c driver missed the error path of the
probe function. Fix it.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conversion to new-style i2c driver missed the error path of the
probe function. Fix it.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: make the CS4270 driver a new-style I2C driver</title>
<updated>2008-09-29T10:53:18+00:00</updated>
<author>
<name>Timur Tabi</name>
<email>timur@freescale.com</email>
</author>
<published>2008-07-29T21:35:52+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=ec2cd95f340fb07b905839ee219b3846ecf58396'/>
<id>ec2cd95f340fb07b905839ee219b3846ecf58396</id>
<content type='text'>
Update the CS4270 ALSA device driver to use the new-style I2C interface.
Starting with the 2.6.27 PowerPC kernel, I2C devices that have entries in the
device trees can no longer be probed by old-style I2C drivers.  The device
tree for Freescale MPC8610 HPCD has included an entry for the CS4270 since
2.6.25, but that entry was previously ignored by the PowerPC I2C subsystem.
Since that's no longer the case, the best solution is to update the CS4270
driver to a new-style interface, rather than try to revert the behavior of
new PowerPC I2C subsystem.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the CS4270 ALSA device driver to use the new-style I2C interface.
Starting with the 2.6.27 PowerPC kernel, I2C devices that have entries in the
device trees can no longer be probed by old-style I2C drivers.  The device
tree for Freescale MPC8610 HPCD has included an entry for the CS4270 since
2.6.25, but that entry was previously ignored by the PowerPC I2C subsystem.
Since that's no longer the case, the best solution is to update the CS4270
driver to a new-style interface, rather than try to revert the behavior of
new PowerPC I2C subsystem.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: remove unneeded power_mutex lock in snd_pcm_drop</title>
<updated>2008-09-25T15:52:07+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2008-09-25T15:51:11+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=24e8fc498e9618338854bfbcf8d1d737e0bf1775'/>
<id>24e8fc498e9618338854bfbcf8d1d737e0bf1775</id>
<content type='text'>
The power_mutex lock in snd_pcm_drop may cause a possible deadlock
chain, and above all, it's unneeded.  Let's get rid of it.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The power_mutex lock in snd_pcm_drop may cause a possible deadlock
chain, and above all, it's unneeded.  Let's get rid of it.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ALSA: fix locking in snd_pcm_open*() and snd_rawmidi_open*()</title>
<updated>2008-09-25T12:51:03+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2008-09-25T12:51:03+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=399ccdc1cd4e92e541d4dacbbf18c52bd693418b'/>
<id>399ccdc1cd4e92e541d4dacbbf18c52bd693418b</id>
<content type='text'>
The PCM and rawmidi open callbacks have a lock against card-&gt;controls_list
but it takes a wrong one, card-&gt;controls_rwsem, instead of a right one
card-&gt;ctl_files_rwlock.  This patch fixes them.

This change also fixes automatically the potential deadlocks due to
mm-&gt;mmap_sem in munmap and copy_from/to_user, reported by Sitsofe
Wheeler:

  A: snd_ctl_elem_user_tlv(): card-&gt;controls_rwsem =&gt; mm-&gt;mmap_sem
  B: snd_pcm_open(): card-&gt;open_mutex =&gt; card-&gt;controls_rwsem
  C: munmap: mm-&gt;mmap_sem =&gt; snd_pcm_release(): card-&gt;open_mutex

The patch breaks the chain.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PCM and rawmidi open callbacks have a lock against card-&gt;controls_list
but it takes a wrong one, card-&gt;controls_rwsem, instead of a right one
card-&gt;ctl_files_rwlock.  This patch fixes them.

This change also fixes automatically the potential deadlocks due to
mm-&gt;mmap_sem in munmap and copy_from/to_user, reported by Sitsofe
Wheeler:

  A: snd_ctl_elem_user_tlv(): card-&gt;controls_rwsem =&gt; mm-&gt;mmap_sem
  B: snd_pcm_open(): card-&gt;open_mutex =&gt; card-&gt;controls_rwsem
  C: munmap: mm-&gt;mmap_sem =&gt; snd_pcm_release(): card-&gt;open_mutex

The patch breaks the chain.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
