<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/drivers/vx/vx_core.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-09-01T11:53:34Z</updated>
<entry>
<title>ALSA: vx: Use guard() for mutex locks</title>
<updated>2025-09-01T11:53:34Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2025-08-29T15:00:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=353fc3e3811aa577956940b04a4c540eb65a9992'/>
<id>urn:sha1:353fc3e3811aa577956940b04a4c540eb65a9992</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/20250829150026.6379-8-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: vx: Use safer strscpy() instead of strcpy()</title>
<updated>2025-07-11T07:51:09Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2025-07-10T10:05:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4a38b94bad184a140d357541e50576d4f288592'/>
<id>urn:sha1:c4a38b94bad184a140d357541e50576d4f288592</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-13-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: vx_core: Use standard print API</title>
<updated>2024-08-08T05:47:23Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2024-08-07T13:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41abc8056dd3125d4a9b7ac0f4087dfb67580d95'/>
<id>urn:sha1:41abc8056dd3125d4a9b7ac0f4087dfb67580d95</id>
<content type='text'>
Use the standard print API with dev_*() instead of the old house-baked
one.  It gives better information and allows dynamically control of
debug prints.

The commented old debug prints are dropped, too.

Reviewed-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Link: https://patch.msgid.link/20240807133452.9424-12-tiwai@suse.de
</content>
</entry>
<entry>
<title>ALSA: vx: Manage vx_core object with devres</title>
<updated>2021-07-19T14:17:09Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2021-07-15T07:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a033954140ac43a8ce0eab469229a107cfee1c87'/>
<id>urn:sha1:a033954140ac43a8ce0eab469229a107cfee1c87</id>
<content type='text'>
The firmware data are also released automatically.

Link: https://lore.kernel.org/r/20210715075941.23332-50-tiwai@suse.de
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: vx: Fix assignment in if condition</title>
<updated>2021-06-09T15:30:31Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2021-06-08T14:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed1567c106726d0629c461053e2bc2e9365de9aa'/>
<id>urn:sha1:ed1567c106726d0629c461053e2bc2e9365de9aa</id>
<content type='text'>
VX driver helper code contains lots of assignments in if condition,
which is a bad coding style that may confuse readers and occasionally
lead to bugs.

This patch is merely for coding-style fixes, no functional changes.

Link: https://lore.kernel.org/r/20210608140540.17885-61-tiwai@suse.de
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: vx: fix kernel-doc warning</title>
<updated>2021-03-03T08:25:05Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2021-03-02T21:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60fd71150391cf6be0276f3be1e71f7196547302'/>
<id>urn:sha1:60fd71150391cf6be0276f3be1e71f7196547302</id>
<content type='text'>
make W=1 warning:

sound/drivers/vx/vx_core.c:410: warning: expecting prototype for
snd_vx_boot_xilinx(). Prototype was for snd_vx_load_boot_image()
instead

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20210302215430.87309-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: vx: vx_core: clarify operator precedence</title>
<updated>2020-09-03T07:27:50Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2020-09-02T21:21:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7dcd6ac0225aa3bc4c78fc5f13610789c9a7f15'/>
<id>urn:sha1:b7dcd6ac0225aa3bc4c78fc5f13610789c9a7f15</id>
<content type='text'>
Fix cppcheck warning

sound/drivers/vx/vx_core.c:600:49: style: Clarify calculation
precedence for '&amp;' and '?'. [clarifyCalculation]
      chip-&gt;chip_status &amp; VX_STAT_XILINX_LOADED ? "Loaded" : "No");
                                                ^
sound/drivers/vx/vx_core.c:602:47: style: Clarify calculation
precedence for '&amp;' and '?'. [clarifyCalculation]
      chip-&gt;chip_status &amp; VX_STAT_DEVICE_INIT ? "Yes" : "No");
                                              ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20200902212133.30964-17-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: vx_core: remove warning for empty loop body</title>
<updated>2020-07-07T10:13:16Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2020-07-02T19:36:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ddf2dfe82371ed7ed377cf57e5ea5953a8ee5c2'/>
<id>urn:sha1:5ddf2dfe82371ed7ed377cf57e5ea5953a8ee5c2</id>
<content type='text'>
Fix W=1 warning.

sound/drivers/vx/vx_core.c: In function ‘snd_vx_threaded_irq_handler’:
sound/drivers/vx/vx_core.c:515:3: warning: suggest braces around empty
body in an ‘if’ statement [-Wempty-body]
  515 |   ; /* so far, nothing to do yet */
      |   ^

Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20200702193604.169059-23-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: vx: More constifications</title>
<updated>2020-01-05T15:14:30Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2020-01-05T14:47:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c09482455ca586539802282380f59f54a1febf16'/>
<id>urn:sha1:c09482455ca586539802282380f59f54a1febf16</id>
<content type='text'>
Apply const prefix to every possible place: the static tables for DSP
commands, the string tables, and register/offset tables.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-8-tiwai@suse.de
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: vx: Constify snd_vx_hardware and snd_vx_ops definitions</title>
<updated>2020-01-03T08:24:20Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2020-01-03T08:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8ae2d2919481817d2e942617c203fc792687c66'/>
<id>urn:sha1:f8ae2d2919481817d2e942617c203fc792687c66</id>
<content type='text'>
Both snd_vx_hardware and snd_vx_ops are only referred without
modification, hence they can be constified gracefully for further
optimizations.

There should be no functional changes by this patch.

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