diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-31 14:57:29 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-31 20:02:33 +0200 |
commit | c89178f57a19300b2056f58167e183e966a4836d (patch) | |
tree | 5ba4770b2377124e1d905a9e4f91d75dc9bb7365 /sound/usb/stream.c | |
parent | [media] au0828: Fix dev_state handling (diff) | |
download | linux-c89178f57a19300b2056f58167e183e966a4836d.tar.xz linux-c89178f57a19300b2056f58167e183e966a4836d.zip |
[media] Revert "[media] sound/usb: Use Media Controller API to share media resources"
Unfortunately, this patch caused several regressions at au0828 and
snd-usb-audio, like this one:
https://bugzilla.kernel.org/show_bug.cgi?id=115561
It also showed several troubles at the MC core that handles pretty
poorly the memory protections and data lifetime management.
So, better to revert it and fix the core before reapplying this
change.
This reverts commit aebb2b89bff0 ("[media] sound/usb: Use Media
Controller API to share media resources")'
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'sound/usb/stream.c')
-rw-r--r-- | sound/usb/stream.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/usb/stream.c b/sound/usb/stream.c index 51258a15f653..c4dc577ab1bd 100644 --- a/sound/usb/stream.c +++ b/sound/usb/stream.c @@ -36,7 +36,6 @@ #include "format.h" #include "clock.h" #include "stream.h" -#include "media.h" /* * free a substream @@ -53,7 +52,6 @@ static void free_substream(struct snd_usb_substream *subs) kfree(fp); } kfree(subs->rate_list.list); - media_snd_stream_delete(subs); } |