media: ivtv: Clean up ALSA PCM API usages
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 13:58:41 +0000 (14:58 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:32:59 +0000 (09:32 +0100)
commit7ffeb6ceda5e7da48e7838c3d105d68b643c65ef
tree3969b63c21e7f582964e1ffbd45bf38a72fe8ad8
parentb0cda3739759a90e8d37175eca35e75e727c9436
media: ivtv: 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.

Cc: Andy Walls <awalls@md.metrocast.net>
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>
drivers/media/pci/ivtv/ivtv-alsa-pcm.c