<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/sound, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-09-29T17:23:47Z</updated>
<entry>
<title>pcm(4): Fix a common typo in source code comments</title>
<updated>2021-09-29T17:23:47Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-09-26T09:21:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5cd0914ebee0a781be83193dc861de5ae00e205c'/>
<id>urn:sha1:5cd0914ebee0a781be83193dc861de5ae00e205c</id>
<content type='text'>
- s/prefered/preferred/

(cherry picked from commit 513ee901eec639da45796d563168f0af966705e6)
</content>
</entry>
<entry>
<title>sound(4): Fix some common typos in comments</title>
<updated>2021-08-31T06:15:50Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-08-26T15:15:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=15a46b046db50ab773cce73fbf884283259a6fd5'/>
<id>urn:sha1:15a46b046db50ab773cce73fbf884283259a6fd5</id>
<content type='text'>
- s/doens't/doesn't/
- s/apropriate/appropriate/
- s/intepretation/interpretation/

(cherry picked from commit 58d868c88d21b46d3d6d40a2920e7ba8996723b8)
</content>
</entry>
<entry>
<title>Fix a common typo in source code comments</title>
<updated>2021-08-19T07:36:32Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2021-08-14T12:17:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=535182ea0f95b944f7e5d2337373b2a22ae3b2b1'/>
<id>urn:sha1:535182ea0f95b944f7e5d2337373b2a22ae3b2b1</id>
<content type='text'>
- s/aligment/alignment/

(cherry picked from commit a1581cd73594bbbde638859c31226c2c21be1ab3)
</content>
</entry>
<entry>
<title>hda: correct comment about Asus laptop digital mics</title>
<updated>2021-05-27T00:49:43Z</updated>
<author>
<name>Philippe Michaud-Boudreault</name>
<email>pitwuu@gmail.com</email>
</author>
<published>2021-05-19T14:32:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f37d94bd4257c0cd0545c13205ca4787cc3b61fc'/>
<id>urn:sha1:f37d94bd4257c0cd0545c13205ca4787cc3b61fc</id>
<content type='text'>
Reported in review D30333

MFC after:	1 week

(cherry picked from commit 5d698386fbfe166df72a17712ffde8cefeecefab)
</content>
</entry>
<entry>
<title>MFC 31070b5bc77a:</title>
<updated>2021-04-01T09:16:39Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-03-09T16:41:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d1867e2b749ee4d75d8e08fe177e25489e2913d'/>
<id>urn:sha1:8d1867e2b749ee4d75d8e08fe177e25489e2913d</id>
<content type='text'>
Set default alternate setting when USB audio devices are not in use,
to activate power save features.

Differential Revision:  https://reviews.freebsd.org/D28032
Suggested by:	Shichun_Ma@Dell.com
Sponsored by:	Mellanox Technologies // NVIDIA Networking

(cherry picked from commit 31070b5bc77a499009a835650eb9d4bf2eceaa15)
</content>
</entry>
<entry>
<title>Fix several dev_clone callbacks to avoid out-of-bounds reads</title>
<updated>2021-03-31T13:16:51Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-03-28T15:08:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f9fcb518e7289489d8fc577565f21f95a51a33cd'/>
<id>urn:sha1:f9fcb518e7289489d8fc577565f21f95a51a33cd</id>
<content type='text'>
Use strncmp() instead of bcmp(), so that we don't have to find the
minimum of the string lengths before comparing.

Reviewed by:	kib
Reported by:	KASAN
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29463

(cherry picked from commit 3428b6c050d102ba7f95514b29f4f5685d76b645)
</content>
</entry>
<entry>
<title>MFC 12148d4300db:</title>
<updated>2021-02-18T08:43:46Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2021-02-14T19:29:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ea88413d607eea79450cb6570e9a8c6067dd9ae'/>
<id>urn:sha1:3ea88413d607eea79450cb6570e9a8c6067dd9ae</id>
<content type='text'>
Fix for locking order reversal in USB audio driver, when using mmap().

Locking the second lock which causes the LOR, can be skipped because
the code updating the shared variables is always executing from the
same USB thread.

lock order reversal:
  1st 0xfffff80005cc3840 pcm7:play:dsp7.p0 (pcm play channel, sleep mutex)
@ usb_transfer.c:2342
  2nd 0xfffff80005cc3860 pcm7:record:dsp7.r0 (pcm record channel, sleep mutex)
@ uaudio.c:2317

lock order pcm record channel -&gt; pcm play channel established at:
witness_checkorder+0x461
__mtx_lock_flags+0x98
dsp_mmap_single+0x151
vm_mmap_cdev+0x65
devfs_mmap_f+0x143
kern_mmap_req+0x594
sys_mmap+0x46
amd64_syscall+0x12e
fast_syscall_common+0xf8

lock order pcm play channel -&gt; pcm record channel attempted at:
witness_checkorder+0xd82
__mtx_lock_flags+0x98
uaudio_chan_play_callback+0xeb
usbd_callback_wrapper+0x7ec
usb_command_wrapper+0x7e
usb_callback_proc+0x8e
usb_process+0xf3
fork_exit+0x80
fork_trampoline+0xe

Found by:	Stefan Ehmann &lt;shoesoft@gmx.net&gt;
Sponsored by:	Mellanox Technologies // NVIDIA Networking

(cherry picked from commit 12148d4300dbbd93260bf2801cdb9eda8b3b05a4)
</content>
</entry>
<entry>
<title>Unify Intel CODEC naming.</title>
<updated>2021-01-22T16:44:08Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2021-01-15T14:56:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4493b69d4aa4fd18d5a6d71b058a2efb74d43421'/>
<id>urn:sha1:4493b69d4aa4fd18d5a6d71b058a2efb74d43421</id>
<content type='text'>
Submitted by:	Dmitry Luhtionov &lt;dmitryluhtionov@gmail.com&gt;

(cherry picked from commit 510cc421263fa807a72c9b4b8d9a4091a96d9648)
</content>
</entry>
<entry>
<title>MFC r367615:</title>
<updated>2020-12-01T12:36:21Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-12-01T12:36:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=826e695d666226d535e0bee23f60898d940ddd0c'/>
<id>urn:sha1:826e695d666226d535e0bee23f60898d940ddd0c</id>
<content type='text'>
Add a tunable sysctl, hw.usb.uaudio.handle_hid, to allow disabling the
the HID volume keys support in the USB audio driver.

While at it re-organize the USB audio sysctls a bit.

Differential Revision:	https://reviews.freebsd.org/D27180
Sponsored by:		Mellanox Technologies // NVIDIA Networking
</content>
</entry>
<entry>
<title>MFC r367892:</title>
<updated>2020-11-27T11:51:07Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-11-27T11:51:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66cc4ad7bd49f728be45f6b65676469d7179d23f'/>
<id>urn:sha1:66cc4ad7bd49f728be45f6b65676469d7179d23f</id>
<content type='text'>
Unlock channels when any of them are locked, when returning for non-busy state.
</content>
</entry>
</feed>
