From 24eb6e299d98d9b69445af8b44a7bff3f1164d6e Mon Sep 17 00:00:00 2001 From: Gowtham Anandha Babu Date: Wed, 10 Jul 2024 23:43:15 +0530 Subject: [PATCH] Pass dev instead of NULL for DMA continuous data Signed-off-by: Gowtham Anandha Babu --- sound/usb/btusb/btusb_sco_snd_card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/btusb/btusb_sco_snd_card.c b/sound/usb/btusb/btusb_sco_snd_card.c index fc24189d3375..657107c27ef5 100644 --- a/sound/usb/btusb/btusb_sco_snd_card.c +++ b/sound/usb/btusb/btusb_sco_snd_card.c @@ -938,7 +938,7 @@ static int btusb_snd_card_create(struct btusb_data *data) &btusb_isoc_playback_ops); snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, - NULL, + dev, 64 * 1024, 64 * 1024); strlcpy(card->driver, "bt_audio_source", sizeof(card->driver)); strlcpy(card->shortname, card->driver, sizeof(card->shortname));