]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ALSA: usb-audio: Use inclusive terms
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Feb 2026 08:52:31 +0000 (09:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Feb 2026 09:17:28 +0000 (10:17 +0100)
Replace the remaining with inclusive terms; it's only this function
name we overlooked at the previous conversion.

Fixes: 53837b4ac2bd ("ALSA: usb-audio: Replace slave/master terms")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260225085233.316306-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c

index 2e70dbc479b4dadc751f10b5dacf991648fd178d..bf4401aba76ca88450ef292c221610a59c5de75b 100644 (file)
@@ -160,8 +160,8 @@ int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep)
  * This won't be used for implicit feedback which takes the packet size
  * returned from the sync source
  */
-static int slave_next_packet_size(struct snd_usb_endpoint *ep,
-                                 unsigned int avail)
+static int synced_next_packet_size(struct snd_usb_endpoint *ep,
+                                  unsigned int avail)
 {
        unsigned int phase;
        int ret;
@@ -228,7 +228,7 @@ int snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep,
        }
 
        if (ep->sync_source)
-               return slave_next_packet_size(ep, avail);
+               return synced_next_packet_size(ep, avail);
        else
                return next_packet_size(ep, avail);
 }