<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/firewire/isight.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-12T06:08:04Z</updated>
<entry>
<title>ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback</title>
<updated>2018-10-12T06:08:04Z</updated>
<author>
<name>Takashi Sakamoto</name>
</author>
<published>2018-10-12T05:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51e68fb0929c29e47e9074ca3e99ffd6021a1c5a'/>
<id>urn:sha1:51e68fb0929c29e47e9074ca3e99ffd6021a1c5a</id>
<content type='text'>
In some error paths, reference count of firewire unit is not decreased.
This commit fixes the bug.

Fixes: 5b14ec25a79b('ALSA: firewire: release reference count of firewire unit in .remove callback of bus driver')
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: firewire: release reference count of firewire unit in .remove callback of bus driver</title>
<updated>2018-10-10T10:11:41Z</updated>
<author>
<name>Takashi Sakamoto</name>
</author>
<published>2018-10-10T06:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b14ec25a79bf60fc9a663fe579a500b6ac9d8ab'/>
<id>urn:sha1:5b14ec25a79bf60fc9a663fe579a500b6ac9d8ab</id>
<content type='text'>
In a previous commit, drivers in ALSA firewire stack blocks .remove
callback of bus driver. This enables to release members of private
data in the callback after releasing device of sound card.

This commit simplifies codes to release the members.

Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: firewire: block .remove callback of bus driver till all of ALSA character devices are released</title>
<updated>2018-10-10T10:11:34Z</updated>
<author>
<name>Takashi Sakamoto</name>
</author>
<published>2018-10-10T06:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61ccc6f6b27c03bb32ca38a3c580d49ce1612d43'/>
<id>urn:sha1:61ccc6f6b27c03bb32ca38a3c580d49ce1612d43</id>
<content type='text'>
At present, in .remove callback of bus driver just decrease reference
count of device for ALSA card instance. This delegates release of the
device to a process in which the last of ALSA character device is
released.

On the other hand, the other drivers such as for devices on PCIe are
programmed to block .remove callback of bus driver till all of ALSA
character devices are released.

For consistency of behaviour for whole drivers, this probably confuses
users. This commit takes drivers in ALSA firewire stack to imitate the
above behaviour.

Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc()</title>
<updated>2018-07-18T06:24:29Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2018-07-18T05:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fa84cf094ef9667e2b91c104b0a788fd1896f482'/>
<id>urn:sha1:fa84cf094ef9667e2b91c104b0a788fd1896f482</id>
<content type='text'>
snd_pcm_lib_mmap_vmalloc() was supposed to be implemented with
somewhat special for vmalloc handling, but in the end, this turned to
just the default handler, i.e. NULL.  As the situation has never
changed over decades, let's rip it off.

Reviewed-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: isight: use position offset macro of TLV data</title>
<updated>2018-05-14T15:48:14Z</updated>
<author>
<name>Takashi Sakamoto</name>
</author>
<published>2018-05-13T22:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4844f51282b60f8a96b05d422f452a785df308b9'/>
<id>urn:sha1:4844f51282b60f8a96b05d422f452a785df308b9</id>
<content type='text'>
A series of SNDRV_CTL_TLVO_XXX macro was introduced for position offset
of TLV data. This commit applies a code optimization.

Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Acked-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE()</title>
<updated>2017-10-25T09:01:08Z</updated>
<author>
<name>Mark Rutland</name>
</author>
<published>2017-10-23T21:07:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6aa7de059173a986114ac43b8f50b297a86f09a8'/>
<id>urn:sha1:6aa7de059173a986114ac43b8f50b297a86f09a8</id>
<content type='text'>
Please do not apply this to mainline directly, instead please re-run the
coccinelle script shown below and apply its output.

For several reasons, it is desirable to use {READ,WRITE}_ONCE() in
preference to ACCESS_ONCE(), and new code is expected to use one of the
former. So far, there's been no reason to change most existing uses of
ACCESS_ONCE(), as these aren't harmful, and changing them results in
churn.

However, for some features, the read/write distinction is critical to
correct operation. To distinguish these cases, separate read/write
accessors must be used. This patch migrates (most) remaining
ACCESS_ONCE() instances to {READ,WRITE}_ONCE(), using the following
coccinelle script:

----
// Convert trivial ACCESS_ONCE() uses to equivalent READ_ONCE() and
// WRITE_ONCE()

// $ make coccicheck COCCI=/home/mark/once.cocci SPFLAGS="--include-headers" MODE=patch

virtual patch

@ depends on patch @
expression E1, E2;
@@

- ACCESS_ONCE(E1) = E2
+ WRITE_ONCE(E1, E2)

@ depends on patch @
expression E;
@@

- ACCESS_ONCE(E)
+ READ_ONCE(E)
----

Signed-off-by: Mark Rutland &lt;mark.rutland@arm.com&gt;
Signed-off-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: davem@davemloft.net
Cc: linux-arch@vger.kernel.org
Cc: mpe@ellerman.id.au
Cc: shuah@kernel.org
Cc: snitzer@redhat.com
Cc: thor.thayer@linux.intel.com
Cc: tj@kernel.org
Cc: viro@zeniv.linux.org.uk
Cc: will.deacon@arm.com
Link: http://lkml.kernel.org/r/1508792849-3115-19-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>ALSA: firewire: constify snd_pcm_ops structures</title>
<updated>2017-08-19T09:02:17Z</updated>
<author>
<name>Arvind Yadav</name>
</author>
<published>2017-08-18T07:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2165f3889ace44ee21a41ca72467be3119121db'/>
<id>urn:sha1:b2165f3889ace44ee21a41ca72467be3119121db</id>
<content type='text'>
snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by &lt;sound/pcm.h&gt; work with
const snd_pcm_ops. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Add snd_pcm_stop_xrun() helper</title>
<updated>2014-11-09T17:20:40Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-11-07T16:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1fb8510cdb5b7befe8a59f533c7fc12ef0dac73e'/>
<id>urn:sha1:1fb8510cdb5b7befe8a59f533c7fc12ef0dac73e</id>
<content type='text'>
Add a new helper function snd_pcm_stop_xrun() to the standard sequnce
lock/snd_pcm_stop(XRUN)/unlock by a single call, and replace the
existing open codes with this helper.

The function checks the PCM running state to prevent setting the wrong
state, too, for more safety.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: firewire: Convert to snd_card_new() with a device pointer</title>
<updated>2014-02-14T07:13:31Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-01-29T13:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06b45f00a46621e0766e37a02a9676b9143261a2'/>
<id>urn:sha1:06b45f00a46621e0766e37a02a9676b9143261a2</id>
<content type='text'>
Also remove superfluous snd_card_set_dev() calls.

Reviewed-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: firewire: extend snd_fw_transaction()</title>
<updated>2013-10-20T20:07:57Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2011-09-04T20:17:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b70485f135a39d5f2d8c392a16817456fa3a5cd'/>
<id>urn:sha1:1b70485f135a39d5f2d8c392a16817456fa3a5cd</id>
<content type='text'>
Add a flag to snd_fw_transaction() to allow it to abort when a bus reset
happens.  This removes most of the duplicated error handling loops that
were required around calls to the low-level fw_run_transaction().

Also add a flag to suppress error messages; errors are expected when we
attempt to clean up after the device was unplugged.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
</content>
</entry>
</feed>
