Skip to content

Commit

Permalink
Pass dev instead of NULL for DMA continuous data
Browse files Browse the repository at this point in the history
Signed-off-by: Gowtham Anandha Babu <[email protected]>
  • Loading branch information
gowthambabu92 committed Jul 10, 2024
1 parent b37aed8 commit 24eb6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/btusb/btusb_sco_snd_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 24eb6e2

Please sign in to comment.