git: 4ed0ca91a309 - stable/14 - sound: Make feed_mixer_apply() __always_inline

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Mon, 17 Mar 2025 18:36:57 UTC
The branch stable/14 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=4ed0ca91a309bcddb38881d038836bb21fbd8ca7

commit 4ed0ca91a309bcddb38881d038836bb21fbd8ca7
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2025-03-10 21:16:08 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2025-03-17 18:29:17 +0000

    sound: Make feed_mixer_apply() __always_inline
    
    Reported by:    mav
    Fixes:          4021fa32d92d ("sound: Simplify pcm/feeder_mixer.c")
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 717adecbbb5293d8386caa866c21421ef9eeb22c)
---
 sys/dev/sound/pcm/feeder_mixer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/sound/pcm/feeder_mixer.c b/sys/dev/sound/pcm/feeder_mixer.c
index 935ef933004b..1d3b7e31d055 100644
--- a/sys/dev/sound/pcm/feeder_mixer.c
+++ b/sys/dev/sound/pcm/feeder_mixer.c
@@ -52,7 +52,7 @@ struct feed_mixer_info {
 	int bps;
 };
 
-static void
+__always_inline static void
 feed_mixer_apply(uint8_t *src, uint8_t *dst, uint32_t count, const uint32_t fmt)
 {
 	intpcm32_t z;