Commit 6b6914c1e21b introduced a printf-like version of
device_set_desc(), so use it to simplify device description setting in
the audio stack.
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential D43467
sound: use device_set_descf() to set device descriptions christos on Jan 16 2024, 5:11 PM. Authored by Tags None Referenced Files
Subscribers None
Details Commit 6b6914c1e21b introduced a printf-like version of Sponsored by: The FreeBSD Foundation The whole audio stack builds fine.
Diff Detail
Event TimelineComment Actions @dev_submerge.ch This patch modifies part of your latest HDSPe commit. Since I do not have an HDSPe card to test, can you make sure this works fine? Comment Actions Looks good to me, /dev/sndstat output is pcm3: <HDSPe RayDAT [aes]> (play/rec) pcm4: <HDSPe RayDAT [s/pdif]> (play/rec) pcm5: <HDSPe RayDAT [adat1]> (play/rec) pcm6: <HDSPe RayDAT [adat2]> (play/rec) pcm7: <HDSPe RayDAT [adat3]> (play/rec) pcm8: <HDSPe RayDAT [adat4]> (play/rec) as expected. Comment Actions Please note that this commit depends on rGd7fde2c9eccf, and thus also on rGb6052c10fb4ad. These were not marked for MFC. Don't know much about MFC procedures, but cherry-picking this commit without the others will probably fail. Feel free to MFC them as well if needed. |