<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core/pcm.c, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-06-23T09:56:22Z</updated>
<entry>
<title>ALSA: pcm: Fix pcm_class sysfs output</title>
<updated>2015-06-23T09:56:22Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-06-23T09:56:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60b93030b44a8c2cd015cebe5624fd7552ec67ec'/>
<id>urn:sha1:60b93030b44a8c2cd015cebe5624fd7552ec67ec</id>
<content type='text'>
The pcm_class sysfs of each PCM substream gives only "none" since the
recent code change to embed the struct device.  Fix the code to point
directly to the embedded device object properly.

Fixes: ef46c7af93f9 ('ALSA: pcm: Embed struct device')
Cc: &lt;stable@vger.kernel.org&gt; # v4.0+
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS</title>
<updated>2015-05-27T19:25:19Z</updated>
<author>
<name>Jie Yang</name>
</author>
<published>2015-05-27T11:45:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd6a65036f0eac4ad83dc371bb458e9e6ba6e306'/>
<id>urn:sha1:cd6a65036f0eac4ad83dc371bb458e9e6ba6e306</id>
<content type='text'>
We may disable proc fs only for sound part, to reduce ALSA
memory footprint. So add CONFIG_SND_PROC_FS and replace the
old CONFIG_PROC_FSs in alsa code.

With sound proc fs disabled, we can save about 9KB memory
size on X86_64 platform.

Signed-off-by: Jie Yang &lt;yang.jie@intel.com&gt;
Reviewed-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: core: Drop superfluous error/debug messages after malloc failures</title>
<updated>2015-03-10T14:42:14Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-03-10T14:42:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec0e9937aaa8b0a4b0633711c4d70d622acd9a7f'/>
<id>urn:sha1:ec0e9937aaa8b0a4b0633711c4d70d622acd9a7f</id>
<content type='text'>
The kernel memory allocators already report the errors when the
requested allocation fails, thus we don't need to warn it again in
each caller side.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Don't ignore internal PCMs in snd_pcm_dev_disconnect()</title>
<updated>2015-02-20T18:52:04Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-02-20T16:05:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b20221385c40155f13068be75b865170a1ad5d1e'/>
<id>urn:sha1:b20221385c40155f13068be75b865170a1ad5d1e</id>
<content type='text'>
Some codes in snd_pcm_dev_disconnect() are still valid even for
internal PCMs, but they are skipped because of the check of
list_empty(&amp;pcm-&gt;list) at the beginning.  Remove this check and put
pcm-&gt;internal checks appropriately for internal PCM object to process
through this function.

Acked-by: Liam Girdwood &lt;liam.r.girdwood@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Don't notify internal PCMs</title>
<updated>2015-02-20T18:51:50Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-02-20T16:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=646e1dd8f9f47c57560ce81c02fdd57ff0929bc6'/>
<id>urn:sha1:646e1dd8f9f47c57560ce81c02fdd57ff0929bc6</id>
<content type='text'>
Notifier shouldn't listen to the changes of internal PCMs.

Acked-by: Liam Girdwood &lt;liam.r.girdwood@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Don't add internal PCMs to PCM device list</title>
<updated>2015-02-20T18:51:42Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-02-20T15:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b95bd3a454cf9e9e111b6b87c02550368fe6e802'/>
<id>urn:sha1:b95bd3a454cf9e9e111b6b87c02550368fe6e802</id>
<content type='text'>
An internal PCM object shouldn't be added to the PCM device list, as
it's never accessed directly from the user-space, and it has no proc
or any similar accesses.  Currently, it's excluded in snd_pcm_get()
and snd_pcm_next(), but it's easier not to add such an object to the
list.

Actually, the whole snd_pcm_dev_register() can be skipped for an
internal PCM.  So this patch changes the code there, but also
addresses the uninitialized list_head access.

Acked-by: Liam Girdwood &lt;liam.r.girdwood@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Minor refactoring in snd_pcm_attach_substream()</title>
<updated>2015-02-20T18:51:04Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-02-20T15:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad876c862278be59147d4004f1a7c4d492e4ec96'/>
<id>urn:sha1:ad876c862278be59147d4004f1a7c4d492e4ec96</id>
<content type='text'>
No functional changes at all.

Acked-by: Liam Girdwood &lt;liam.r.girdwood@linux.intel.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: Simplify snd_device_register() variants</title>
<updated>2015-02-02T16:01:26Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-01-30T07:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40a4b263854346fe7c7d1c3964c106296f690816'/>
<id>urn:sha1:40a4b263854346fe7c7d1c3964c106296f690816</id>
<content type='text'>
Now that all callers have been replaced with
snd_device_register_for_dev(), let's drop the obsolete device
registration code and concentrate only on the code handling struct
device directly.  That said,

- remove the old snd_device_register(),
- rename snd_device_register_for_dev() with snd_device_register(),
- drop superfluous arguments from snd_device_register(),
- change snd_unregister_device() to pass the device pointer directly

Reviewed-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: pcm: Embed struct device</title>
<updated>2015-02-02T13:42:42Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2015-01-29T16:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef46c7af93f98d07cd0ed891f93a26d135785526'/>
<id>urn:sha1:ef46c7af93f98d07cd0ed891f93a26d135785526</id>
<content type='text'>
Like previous patches, at this time we embed the struct device into
PCM object.  However, this needs a bit more caution: struct snd_pcm
doesn't own one device but two, for both playback and capture!  Thus
not struct snd_pcm but struct snd_pcm_str object contains the device.

Along with this change, pcm-&gt;dev field is dropped for avoiding
confusion.  It was meant to point to a non-standard parent.  But,
since now we can touch each struct device directly, we can manipulate
the parent field easily there, too.

Reviewed-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: control: Provide a helper to look for the preferred subdevice</title>
<updated>2015-02-02T13:21:21Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2014-02-19T13:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23c18d4bfd73ee24070849faf98b3ab01263a3c4'/>
<id>urn:sha1:23c18d4bfd73ee24070849faf98b3ab01263a3c4</id>
<content type='text'>
Instead of open-coding the search over the control file loop, provide
a helper function for the preferred subdevice assigned to the current
process.

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