<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/sound/pci/lola, branch 0x221E-v0.0.1-v6.19</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=0x221E-v0.0.1-v6.19</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=0x221E-v0.0.1-v6.19'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2025-09-01T11:52:41Z</updated>
<entry>
<title>ALSA: lola: Use guard() for spin locks</title>
<updated>2025-09-01T11:52:41Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T14:43:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e25667d3f311f7b56d4c4b7294a8c2a6f1cb69d7'/>
<id>urn:sha1:e25667d3f311f7b56d4c4b7294a8c2a6f1cb69d7</id>
<content type='text'>
Clean up the code using guard() for spin locks.

Merely code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829144342.4290-41-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: lola: Use guard() for mutex locks</title>
<updated>2025-09-01T11:52:41Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-08-29T14:43:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=18aec9ea320ffc3c66058c1da8f86c413c17ff43'/>
<id>urn:sha1:18aec9ea320ffc3c66058c1da8f86c413c17ff43</id>
<content type='text'>
Replace the manual mutex lock/unlock pairs with guard() for code
simplification.

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250829144342.4290-40-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: lola: Use safer strscpy() instead of strcpy()</title>
<updated>2025-07-11T07:53:21Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2025-07-10T10:06:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cc519d221f9c8f1ff574b7fec0d875fb76a436b8'/>
<id>urn:sha1:cc519d221f9c8f1ff574b7fec0d875fb76a436b8</id>
<content type='text'>
Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250710100727.22653-71-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: lola: Replace deprecated PCI functions</title>
<updated>2025-04-07T07:19:57Z</updated>
<author>
<name>Philipp Stanner</name>
<email>phasta@kernel.org</email>
</author>
<published>2025-04-04T12:19:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4cc49b9b39521017a9812e440e7a8b1f62b5a495'/>
<id>urn:sha1:4cc49b9b39521017a9812e440e7a8b1f62b5a495</id>
<content type='text'>
pcim_iomap_table() and pcim_iomap_regions() have been deprecated.
Replace them with pcim_iomap_region().

Signed-off-by: Philipp Stanner &lt;phasta@kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20250404121911.85277-11-phasta@kernel.org
</content>
</entry>
<entry>
<title>ALSA: lola: Remove unused lola_(save|restore)_mixer</title>
<updated>2025-02-05T12:03:01Z</updated>
<author>
<name>Dr. David Alan Gilbert</name>
<email>linux@treblig.org</email>
</author>
<published>2025-01-22T02:20:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e8d04a92484e6504bb0c98426db54bfc82a6934f'/>
<id>urn:sha1:e8d04a92484e6504bb0c98426db54bfc82a6934f</id>
<content type='text'>
lola_restore_mixer() and lola_save_mixer() were added in 2011 by
commit d43f3010b8fa ("ALSA: Add the driver for Digigram Lola
PCI-e boards")
but have remain unused.

Remove them.

Signed-off-by: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;
Link: https://patch.msgid.link/20250122022059.456068-1-linux@treblig.org
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: lola: Fix typo in lola_clock.c</title>
<updated>2024-12-05T13:36:45Z</updated>
<author>
<name>Zhu Jun</name>
<email>zhujun2@cmss.chinamobile.com</email>
</author>
<published>2024-12-05T09:51:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=738ab625a9840959328f941d3d5f33aae6a81d62'/>
<id>urn:sha1:738ab625a9840959328f941d3d5f33aae6a81d62</id>
<content type='text'>
The word 'ajustement' is wrong, so fix it.

Signed-off-by: Zhu Jun &lt;zhujun2@cmss.chinamobile.com&gt;
Link: https://patch.msgid.link/20241205095156.17837-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: lola: Bounds check loop iterator against streams array size</title>
<updated>2022-05-21T06:48:57Z</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2022-05-20T16:55:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=12626530de84d2b00ff6480142f7f4374662c0c3'/>
<id>urn:sha1:12626530de84d2b00ff6480142f7f4374662c0c3</id>
<content type='text'>
GCC 12 sees that it's technically possible for num_streams to be larger
than ARRAY_SIZE(pcm-&gt;streams). Bounds-check the iterator.

../sound/pci/lola/lola_pcm.c: In function 'lola_pcm_update':
../sound/pci/lola/lola_pcm.c:567:64: warning: array subscript [0, 31] is outside array bounds of 'struct lola_stream[16]' [-Warray-bounds]
  567 |                         struct lola_stream *str = &amp;pcm-&gt;streams[i];
      |                                                    ~~~~~~~~~~~~^~~
In file included from ../sound/pci/lola/lola_pcm.c:15:
../sound/pci/lola/lola.h:307:28: note: while referencing 'streams'
  307 |         struct lola_stream streams[MAX_STREAM_COUNT];
      |                            ^~~~~~~

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Link: https://lore.kernel.org/r/20220520165537.2139826-1-keescook@chromium.org
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: lola: Fix the missing snd_card_free() call at probe error</title>
<updated>2022-04-12T15:58:37Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2022-04-12T10:26:26Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d04e84b9817c652002f0ee9b42059d41493e9118'/>
<id>urn:sha1:d04e84b9817c652002f0ee9b42059d41493e9118</id>
<content type='text'>
The previous cleanup with devres may lead to the incorrect release
orders at the probe error handling due to the devres's nature.  Until
we register the card, snd_card_free() has to be called at first for
releasing the stuff properly when the driver tries to manage and
release the stuff via card-&gt;private_free().

This patch fixes it by calling snd_card_free() on the error from the
probe callback using a new helper function.

Fixes: 098fe3d6e775 ("ALSA: lola: Allocate resources with device-managed APIs")
Cc: &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20220412102636.16000-30-tiwai@suse.de
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: lola: add a check for the return of vmalloc()</title>
<updated>2022-03-04T08:51:37Z</updated>
<author>
<name>Xiaoke Wang</name>
<email>xkernel.wang@foxmail.com</email>
</author>
<published>2022-03-04T08:38:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d7f15befac809ba365742464e1b0bebf07149c58'/>
<id>urn:sha1:d7f15befac809ba365742464e1b0bebf07149c58</id>
<content type='text'>
vmalloc() is a memory allocation function which can return NULL when
some internal memory errors happen. So it is better to check the return
of it to catch the error in time.

Signed-off-by: Xiaoke Wang &lt;xkernel.wang@foxmail.com&gt;
Link: https://lore.kernel.org/r/tencent_4221FC4089F6DF01C48F192E5784038BA205@qq.com
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: lola: Allocate resources with device-managed APIs</title>
<updated>2021-07-19T14:17:02Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2021-07-15T07:59:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=098fe3d6e77515685c60179926a96c5ac0fee74a'/>
<id>urn:sha1:098fe3d6e77515685c60179926a96c5ac0fee74a</id>
<content type='text'>
This patch converts the resource management in PCI lola driver with
devres as a clean up.  Each manual resource management is converted
with the corresponding devres helper, the page allocations are done
with the devres helper, and the card object release is managed now via
card-&gt;private_free instead of a lowlevel snd_device.

This should give no user-visible functional changes.

Link: https://lore.kernel.org/r/20210715075941.23332-41-tiwai@suse.de
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
