<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/sound/pcm.h, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-12-21T13:08:49Z</updated>
<entry>
<title>ALSA: pcm: remove SNDRV_PCM_IOCTL1_INFO internal command</title>
<updated>2018-12-21T13:08:49Z</updated>
<author>
<name>Takashi Sakamoto</name>
</author>
<published>2017-06-14T10:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50ebcbade88d99aeb2d7917169ed8a3c3fc5da0d'/>
<id>urn:sha1:50ebcbade88d99aeb2d7917169ed8a3c3fc5da0d</id>
<content type='text'>
commit e11f0f90a626f93899687b1cc909ee37dd6c5809 upstream.

Drivers can implement 'struct snd_pcm_ops.ioctl' to handle some requests
from ALSA PCM core. These requests are internal purpose in kernel land.
Usually common set of operations are used for it.

SNDRV_PCM_IOCTL1_INFO is one of the requests. According to code comment,
it has been obsoleted in the old days.

We can see old releases in ftp.alsa-project.org. The command was firstly
introduced in v0.5.0 release as SND_PCM_IOCTL1_INFO, to allow drivers to
fill data of 'struct snd_pcm_channel_info' type. In v0.9.0 release,
this was obsoleted by the other commands for ioctl(2) such as
SNDRV_PCM_IOCTL_CHANNEL_INFO.

This commit removes the long-abandoned command, bye.

Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Ben Hutchings &lt;ben.hutchings@codethink.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: More kerneldoc updates</title>
<updated>2016-03-04T15:18:43Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-10-30T14:02:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1fa3e907a01216659a04c3c2531d257be4c809b'/>
<id>urn:sha1:b1fa3e907a01216659a04c3c2531d257be4c809b</id>
<content type='text'>
[ Upstream commit 30b771cf8c3120c5c946811ecc5a9b87a34003a2 ]

Add proper kerneldoc comments to the exported functions.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample format</title>
<updated>2014-11-21T14:13:28Z</updated>
<author>
<name>Jussi Laako</name>
</author>
<published>2014-11-21T14:04:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d42472ecffd7c42086c6e5b1335c99a3adf58a09'/>
<id>urn:sha1:d42472ecffd7c42086c6e5b1335c99a3adf58a09</id>
<content type='text'>
This patch fixes XMOS DSD sample format to DSD_U32_BE and also adds
DSD_U16_BE and DSD_U32_BE sample formats.

Signed-off-by: Jussi Laako &lt;jussi@sonarnerd.net&gt;
Acked-by: Jurgen Kramer &lt;gtmkramer@xs4all.nl&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: add new DSD sampleformat for native DSD playback on XMOS based devices</title>
<updated>2014-09-08T15:11:00Z</updated>
<author>
<name>Jurgen Kramer</name>
</author>
<published>2014-09-05T08:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4288d3fac18bbc31cb6d369679b1fa1d9321ae9'/>
<id>urn:sha1:d4288d3fac18bbc31cb6d369679b1fa1d9321ae9</id>
<content type='text'>
XMOS based USB DACs with native DSD support expose this feature via a USB
alternate setting. The audio format is either 32-bit raw or a 32-bit PCM format.
To utilize this feature on linux this patch introduces a new 32-bit DSD
sampleformat DSD_U32_LE.
A follow up patch will add a quirk for XMOS based devices to utilize the new format.
Further patches will add support to alsa-lib.

Signed-off-by: Jurgen Kramer &lt;gtmkramer@xs4all.nl&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Uninline snd_pcm_stream_lock() and _unlock()</title>
<updated>2014-09-03T12:04:18Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-09-01T09:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7af142f752116e86adbe2073f2922d8265a77709'/>
<id>urn:sha1:7af142f752116e86adbe2073f2922d8265a77709</id>
<content type='text'>
The previous commit for the non-atomic PCM ops added more codes to
snd_pcm_stream_lock() and its variants.  Since they are inlined
functions, it resulted in a significant code size bloat.  For reducing
the size bloat, this patch changes the inline functions to the normal
function calls.  The export of rwlock and rwsem are removed as well,
since they are referred only in pcm_native.c now.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Allow nonatomic trigger operations</title>
<updated>2014-09-03T12:04:08Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-08-29T13:32:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=257f8cce5d40b811d229ed71602882baa0012808'/>
<id>urn:sha1:257f8cce5d40b811d229ed71602882baa0012808</id>
<content type='text'>
Currently, many PCM operations are performed in a critical section
protected by spinlock, typically the trigger and pointer callbacks are
assumed to be atomic.  This is basically because some trigger action
(e.g. PCM stop after drain or xrun) is done in the interrupt handler.
If a driver runs in a threaded irq, however, this doesn't have to be
atomic.  And many devices want to handle trigger in a non-atomic
context due to lengthy communications.

This patch tries all PCM calls operational in non-atomic context.
What it does is very simple: replaces the substream spinlock with the
corresponding substream mutex when pcm-&gt;nonatomic flag is set.  The
driver that wants to use the non-atomic PCM ops just needs to set the
flag and keep the rest as is.  (Of course, it must not handle any PCM
ops in irq context.)

Note that the code doesn't check whether it's atomic-safe or not, but
trust in 100% that the driver sets pcm-&gt;nonatomic correctly.

One possible problem is the case where linked PCM substreams have
inconsistent nonatomic states.  For avoiding this, snd_pcm_link()
returns an error if one tries to link an inconsistent PCM substream.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Provide a CLOCK_MONOTONIC_RAW timestamp type</title>
<updated>2014-07-10T14:58:13Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2014-07-08T14:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ac8a52d4541adc284a4f3e8a1f6847236de1d8a'/>
<id>urn:sha1:0ac8a52d4541adc284a4f3e8a1f6847236de1d8a</id>
<content type='text'>
For applications which need to synchronise with external timebases such
as broadcast TV applications the kernel monotonic time is not optimal as
it includes adjustments from NTP and so may still include discontinuities
due to that. A raw monotonic time which does not include any adjustments
is available in the kernel from getrawmonotonic() so provide userspace with
a new timestamp type SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW which provides
timestamps based on this as an option.

[dropped tstamp_type assignment code, as it's no longer needed -- tiwai]

Reported-by: Daniel Thompson &lt;daniel.thompson@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Acked-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: core: Use ktime_get_ts()</title>
<updated>2014-06-12T10:58:16Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-06-11T23:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26204e048d2ee0c65e0539f7cc2b66f845a19a41'/>
<id>urn:sha1:26204e048d2ee0c65e0539f7cc2b66f845a19a41</id>
<content type='text'>
do_posix_clock_monotonic_gettime() is a leftover from the initial
posix timer implementation which maps to ktime_get_ts().

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Use standard printk helpers</title>
<updated>2014-02-14T07:14:15Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-02-04T17:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09e56df8b37f5e751614a0d140b8bf8250812912'/>
<id>urn:sha1:09e56df8b37f5e751614a0d140b8bf8250812912</id>
<content type='text'>
Use dev_err() &amp; co as much as possible.  If not available (no device
assigned at the calling point), use pr_xxx() helpers instead.

For simplicity, introduce new helpers for pcm stream, pcm_err(), etc.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'asoc/topic/pcm' into for-tiwai</title>
<updated>2014-01-16T12:42:57Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2014-01-16T12:42:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f43a23ab9ea1865a663e100b0af20198decb4f1'/>
<id>urn:sha1:2f43a23ab9ea1865a663e100b0af20198decb4f1</id>
<content type='text'>
</content>
</entry>
</feed>
