diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 14:58:43 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2019-12-13 09:33:04 +0100 |
commit | 2abb1b2daf88eeace02f798424d96535c990352f (patch) | |
tree | 16d41176c556598145caa7fc68e7989e095cee82 /drivers/i3c | |
parent | 355b9a0c5856695e2335935a8c94fcb17b3b6dbb (diff) | |
download | linux-2abb1b2daf88eeace02f798424d96535c990352f.tar.bz2 |
media: em28xx: 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_em28xx_hw_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/i3c')
0 files changed, 0 insertions, 0 deletions