<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/sound/core/timer.c, branch v3.13.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/sound/core/timer.c?h=v3.13.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/sound/core/timer.c?h=v3.13.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-03-11T18:27:37Z</updated>
<entry>
<title>device.h: cleanup users outside of linux/include (C files)</title>
<updated>2012-03-11T18:27:37Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2012-01-22T16:23:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=51990e825431089747f8896244b5c17d3a6423f1'/>
<id>urn:sha1:51990e825431089747f8896244b5c17d3a6423f1</id>
<content type='text'>
For files that are actively using linux/device.h, make sure
that they call it out.  This will allow us to clean up some
of the implicit uses of linux/device.h within include/*
without introducing build regressions.

Yes, this was created by "cheating" -- i.e. the headers were
cleaned up, and then the fallout was found and fixed, and then
the two commits were reordered.  This ensures we don't introduce
build regressions into the git history.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>sound: fix drivers needing module.h not moduleparam.h</title>
<updated>2011-10-31T23:31:19Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-15T17:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=65a772172b06e6e9b43e5ad77dccbcc767ff9831'/>
<id>urn:sha1:65a772172b06e6e9b43e5ad77dccbcc767ff9831</id>
<content type='text'>
The implicit presence of module.h lured several users into
incorrectly thinking that they only needed/used modparam.h
but once we clean up the module.h presence, these will show
up as build failures, so fix 'em now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>ALSA: timer - Add NULL-check for invalid slave timer</title>
<updated>2011-08-08T10:28:22Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-08-08T10:28:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=94094c8aaeded11f8b99734b9ebdaada20b5f24a'/>
<id>urn:sha1:94094c8aaeded11f8b99734b9ebdaada20b5f24a</id>
<content type='text'>
Just to be sure.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: timer - Fix Oops at closing slave timer</title>
<updated>2011-08-08T10:24:46Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-08-08T10:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0584ffa548b6e59aceb027112f23a55f0133400e'/>
<id>urn:sha1:0584ffa548b6e59aceb027112f23a55f0133400e</id>
<content type='text'>
A slave-timer instance has no timer reference, and this results in
NULL-dereference at stopping the timer, typically called at closing
the device.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=40682

Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sound/core: merge list_del()/list_add_tail() to list_move_tail()</title>
<updated>2011-03-16T16:35:16Z</updated>
<author>
<name>Nicolas Kaiser</name>
<email>nikai@nikai.net</email>
</author>
<published>2011-03-16T16:10:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5b7c757d1a8878d49f46c826d6081816935664aa'/>
<id>urn:sha1:5b7c757d1a8878d49f46c826d6081816935664aa</id>
<content type='text'>
Merge list_del() + list_add_tail() to list_move_tail().

Signed-off-by: Nicolas Kaiser &lt;nikai@nikai.net&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: support module on-demand loading for seq and timer</title>
<updated>2010-11-24T04:53:25Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2010-11-23T16:43:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=03cfe6f57dc5c13ccdd235c23c80e3fa170f03d1'/>
<id>urn:sha1:03cfe6f57dc5c13ccdd235c23c80e3fa170f03d1</id>
<content type='text'>
If CONFIG_SND_DYNAMIC_MINORS is used, assign /dev/snd/seq and
/dev/snd/timer the usual static minors, and export specific
module aliases to generate udev module on-demand loading
instructions:

  $ cat /lib/modules/2.6.33.4-smp/modules.devname
  # Device nodes to trigger on-demand module loading.
  microcode cpu/microcode c10:184
  fuse fuse c10:229
  ppp_generic ppp c108:0
  tun net/tun c10:200
  uinput uinput c10:223
  dm_mod mapper/control c10:236
  snd_timer snd/timer c116:33
  snd_seq snd/seq c116:1

The last two lines instruct udev to create device nodes, even
when the modules are not loaded at that time.

As soon as userspace accesses any of these nodes, the in-kernel
module-loader will load the module, and the device can be used.

The header file minor calculation needed to be simplified to
make __stringify() (supports only two indirections) in
the MODULE_ALIAS macro work.

This is part of systemd's effort to get rid of unconditional
module load instructions and needless init scripts.

Cc: Lennart Poettering &lt;lennart@poettering.net&gt;
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: timer: automatically load the high-resolution timer</title>
<updated>2010-11-22T07:14:31Z</updated>
<author>
<name>Clemens Ladisch</name>
<email>clemens@ladisch.de</email>
</author>
<published>2010-11-18T08:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=109fef9edcc100952eec980acbc2e1295627fbab'/>
<id>urn:sha1:109fef9edcc100952eec980acbc2e1295627fbab</id>
<content type='text'>
Increase the default timer limit so that snd-hrtimer.ko can be
automatically loaded when needed, e.g., when used as the default
sequencer timer.  This replaces the check for the obsolete
CONFIG_SND_HPET.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/core-cleanup' into for-linus</title>
<updated>2010-05-20T09:58:57Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2010-05-20T09:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3374cd1abd478f767aaedf2c21d109596ff0fe72'/>
<id>urn:sha1:3374cd1abd478f767aaedf2c21d109596ff0fe72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ALSA: take tu-&gt;qlock with irqs disabled</title>
<updated>2010-05-05T07:57:08Z</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-04-28T08:29:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bfe70783ca8e61f1fc3588cd59c4f1b755e9d3cf'/>
<id>urn:sha1:bfe70783ca8e61f1fc3588cd59c4f1b755e9d3cf</id>
<content type='text'>
We should disable irqs when we take the tu-&gt;qlock because it is used in
the irq handler.  The only place that doesn't is
snd_timer_user_ccallback().  Most of the time snd_timer_user_ccallback()
is called with interrupts disabled but the the first ti-&gt;ccallback()
call in snd_timer_notify1() has interrupts enabled.

This was caught by lockdep which generates the following message:

&gt; =================================
&gt; [ INFO: inconsistent lock state ]
&gt; 2.6.34-rc5 #5
&gt; ---------------------------------
&gt; inconsistent {HARDIRQ-ON-W} -&gt; {IN-HARDIRQ-W} usage.
&gt; dolphin/4003 [HC1[1]:SC0[0]:HE0:SE1] takes:
&gt; (&amp;(&amp;tu-&gt;qlock)-&gt;rlock){?.+...}, at: [&lt;f84ec472&gt;] snd_timer_user_tinterrupt+0x28/0x132 [snd_timer]
&gt; {HARDIRQ-ON-W} state was registered at:
&gt;   [&lt;c1048de9&gt;] __lock_acquire+0x654/0x1482
&gt;   [&lt;c1049c73&gt;] lock_acquire+0x5c/0x73
&gt;   [&lt;c125ac3e&gt;] _raw_spin_lock+0x25/0x34
&gt;   [&lt;f84ec370&gt;] snd_timer_user_ccallback+0x55/0x95 [snd_timer]
&gt;   [&lt;f84ecc4b&gt;] snd_timer_notify1+0x53/0xca [snd_timer]

Reported-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: core - Define llseek fops</title>
<updated>2010-04-13T10:01:21Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2010-04-13T09:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=02f4865fa415a87de28cc8c2e4d798ff46be1cf8'/>
<id>urn:sha1:02f4865fa415a87de28cc8c2e4d798ff46be1cf8</id>
<content type='text'>
Set no_llseek to llseek file ops of each sound component (but for hwdep).
This avoids the implicit BKL invocation via generic_file_llseek() used
as default when fops.llseek is NULL.

Also call nonseekable_open() at each open ops to ensure the file flags
have no seek bit.

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