[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 aebb2b89bf ("[media] sound/usb: Use Media
Controller API to share media resources")'
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user