diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 14:58:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2019-12-13 09:33:08 +0100 |
commit | f8239b531f0d2e93c211ad6528e36f9294f43bbe (patch) | |
tree | 9bd3f8c3f7f2e9f331e3cd01e739b19b6a89c4a6 /drivers/media/pci/cobalt | |
parent | media: go7007: Clean up ALSA PCM API usages (diff) | |
download | linux-f8239b531f0d2e93c211ad6528e36f9294f43bbe.tar.xz linux-f8239b531f0d2e93c211ad6528e36f9294f43bbe.zip |
media: tm6000: Clean up ALSA PCM API usages
With the recent change in ALSA PCM core, the whole open-coded vmalloc
buffer handling in this driver can be dropped by replacing with the
managed buffer allocation.
Also, snd_tm6000_capture_free() is dropped since the check of
stream_started flag makes no sense; hw_free callback is guaranteed to
be called after the stream gets stopped.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/cobalt')
0 files changed, 0 insertions, 0 deletions