mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ALSA: usb-audio: make read-only array marker static const
Don't populate the read-only array marker on the stack but instead make it static const. Also makes the object code a little smaller. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20220809181544.3046429-1-colin.i.king@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
30267718fe
commit
6b2394bad5
@ -1269,7 +1269,7 @@ static inline void fill_playback_urb_dsd_dop(struct snd_usb_substream *subs,
|
||||
unsigned int wrap = subs->buffer_bytes;
|
||||
u8 *dst = urb->transfer_buffer;
|
||||
u8 *src = runtime->dma_area;
|
||||
u8 marker[] = { 0x05, 0xfa };
|
||||
static const u8 marker[] = { 0x05, 0xfa };
|
||||
unsigned int queued = 0;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user