]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: u_audio: Remove superfluous snd_dma_continuous_data()
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Nov 2019 13:36:17 +0000 (14:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Nov 2019 17:04:18 +0000 (18:04 +0100)
commitf8f64ea680316e377a89cbbce9563770fefd3aae
treeb8d2c7fbd04cff393afe79ed31f780196452ec48
parente096480a4a2b5133f6d2e5668f5734d16ecc956c
usb: gadget: u_audio: Remove superfluous snd_dma_continuous_data()

The recent change (commit 3c4a867833fe: "ALSA: memalloc: Allow NULL
device for SNDRV_DMA_TYPE_CONTINUOUS type") made the PCM preallocation
helper accepting NULL as the device pointer for the default usage.
Drop the snd_dma_continuous_data() usage that became superfluous from
the callers.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20191108164214.611-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/usb/gadget/function/u_audio.c