<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/sound/oss/trident.c, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/sound/oss/trident.c?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/sound/oss/trident.c?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2008-07-24T17:47:27Z</updated>
<entry>
<title>remove the OSS trident driver</title>
<updated>2008-07-24T17:47:27Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-07-24T04:29:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7102ed519a08b70eadc8fea9d8765d2d990241d1'/>
<id>urn:sha1:7102ed519a08b70eadc8fea9d8765d2d990241d1</id>
<content type='text'>
SOUND_TRIDENT was the last PCI OSS driver, and since there's already an
ALSA driver for the same hardware we can remove it.

[muli@il.ibm.com: update CREDITS]
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Signed-off-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>sound: Use BUG_ON</title>
<updated>2008-04-24T10:00:22Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2008-03-04T23:07:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=21ac1f9934d33ea2ffa71d13fa2f6286127d3caf'/>
<id>urn:sha1:21ac1f9934d33ea2ffa71d13fa2f6286127d3caf</id>
<content type='text'>
if (...) BUG(); should be replaced with BUG_ON(...) when the test has no
side-effects to allow a definition of BUG_ON that drops the code completely.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@ disable unlikely @ expression E,f; @@

(
  if (&lt;... f(...) ...&gt;) { BUG(); }
|
- if (unlikely(E)) { BUG(); }
+ BUG_ON(E);
)

@@ expression E,f; @@

(
  if (&lt;... f(...) ...&gt;) { BUG(); }
|
- if (E) { BUG(); }
+ BUG_ON(E);
)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>OSS: constify function pointer tables</title>
<updated>2008-02-08T17:22:38Z</updated>
<author>
<name>Jan Engelhardt</name>
<email>jengelh@computergmbh.de</email>
</author>
<published>2008-02-08T12:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c8cece84c9f36410de5164735e909603426e4d5f'/>
<id>urn:sha1:c8cece84c9f36410de5164735e909603426e4d5f</id>
<content type='text'>
Signed-off-by: Jan Engelhardt &lt;jengelh@computergmbh.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>sound/oss/trident.c: fix incorrect test in trident_ac97_set()</title>
<updated>2008-02-06T18:41:03Z</updated>
<author>
<name>Roel Kluin</name>
<email>12o3l@tiscali.nl</email>
</author>
<published>2008-02-06T09:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=be6c28e62e3a304b74013afab029af2021e1f50d'/>
<id>urn:sha1:be6c28e62e3a304b74013afab029af2021e1f50d</id>
<content type='text'>
If count reaches zero, the loop ends, but the postfix decrement still
subtracts: testing for 'count == 0' will not work.

Signed-off-by: Roel Kluin &lt;12o3l@tiscali.nl&gt;
Reviewed-by: Ray Lee &lt;ray-lk@madrabbit.org&gt;
Acked-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>OSS trident: replace deprecated pci_find_device with pci_get_device</title>
<updated>2007-07-17T17:23:10Z</updated>
<author>
<name>Muli Ben-Yehuda</name>
<email>muli@il.ibm.com</email>
</author>
<published>2007-07-17T11:05:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2e32725c6ae8fa5345d9d095742e175ff4badd3b'/>
<id>urn:sha1:2e32725c6ae8fa5345d9d095742e175ff4badd3b</id>
<content type='text'>
Signed-off-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>OSS trident: fix locking around write_voice_regs</title>
<updated>2007-07-17T17:23:10Z</updated>
<author>
<name>Muli Ben-Yehuda</name>
<email>muli@il.ibm.com</email>
</author>
<published>2007-07-17T11:05:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3b20b9b4e985fcc48b4eea401cb289a856422c93'/>
<id>urn:sha1:3b20b9b4e985fcc48b4eea401cb289a856422c93</id>
<content type='text'>
trident_write_voice_regs() was getting called with the card spinlock held in
only some cases.  Fix it.

Explanation: we allocate a new virtual channel in open, and then we frob some
hardware registers (in write_voice_regs) for that channel.  But the hardware
registers are shared with other channels, which may be trying to frob the some
registers (albeit for another channel) via ioctl(SNDCTL_DSP_SPEED).

Fixed bugzilla.kernel.org bug #8172 (http://bugme.osdl.org/show_bug.cgi?id=8172)

Signed-off-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Cc: &lt;tammy000@gmail.com&gt;
Cc: &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>OSS trident: massive whitespace removal</title>
<updated>2007-07-17T17:23:09Z</updated>
<author>
<name>Muli Ben-Yehuda</name>
<email>muli@il.ibm.com</email>
</author>
<published>2007-07-17T11:05:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d8f75b9183d613d3c29ea451a1cfb793daad5034'/>
<id>urn:sha1:d8f75b9183d613d3c29ea451a1cfb793daad5034</id>
<content type='text'>
Signed-off-by: Muli Ben-Yehuda &lt;muli@il.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>sound: convert "sound" subdirectory to UTF-8</title>
<updated>2007-05-09T06:58:22Z</updated>
<author>
<name>John Anthony Kazos Jr</name>
<email>jakj@j-a-k-j.com</email>
</author>
<published>2007-05-09T06:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7bb2acb76e8168ca5d0bde5a5a56585a11b3525a'/>
<id>urn:sha1:7bb2acb76e8168ca5d0bde5a5a56585a11b3525a</id>
<content type='text'>
Convert the "sound" subdirectory to UTF-8.

Signed-off-by: John Anthony Kazos Jr. &lt;jakj@j-a-k-j.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>header cleaning: don't include smp_lock.h when not used</title>
<updated>2007-05-08T18:15:07Z</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2007-05-08T07:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=e63340ae6b6205fef26b40a75673d1c9c0c8bb90'/>
<id>urn:sha1:e63340ae6b6205fef26b40a75673d1c9c0c8bb90</id>
<content type='text'>
Remove includes of &lt;linux/smp_lock.h&gt; where it is not used/needed.
Suggested by Al Viro.

Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] OSS: replace kmalloc()+memset() combos with kzalloc()</title>
<updated>2007-02-14T16:09:54Z</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@mindspring.com</email>
</author>
<published>2007-02-14T08:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3159f06dc2303630c02d1ad2eeaeaf341414c9df'/>
<id>urn:sha1:3159f06dc2303630c02d1ad2eeaeaf341414c9df</id>
<content type='text'>
Replace kmalloc() + memset() pairs with the appropriate kzalloc() calls.

Signed-off-by: Robert P. J. Day &lt;rpjday@mindspring.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
