Skip to content

Commit

Permalink
[DON'T SUBMIT] topology base on rpmsg driver model
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
  • Loading branch information
xiaoxiang781216 committed Feb 23, 2019
1 parent dd52cb8 commit 077aad7
Show file tree
Hide file tree
Showing 8 changed files with 2,800 additions and 0 deletions.
Binary file added sound/soc/song/Audio.pdf
Binary file not shown.
922 changes: 922 additions & 0 deletions sound/soc/song/song_dcompr.c

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions sound/soc/song/song_dcompr.h
@@ -0,0 +1,30 @@
/*
* Copyright 2017 Xiaomi, Inc.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/

#ifndef __SONG_DCOMPR_H__
#define __SONG_DCOMPR_H__

#include <linux/device.h>

#ifdef CONFIG_SND_SONG_DCOMPR

int devm_song_dcompr_register(struct device *dev, size_t prealloc_size);

#else

static inline int devm_song_dcompr_register(struct device *dev, size_t prealloc_size)
{
return -ENOTSUPP;
}

#endif

#endif

0 comments on commit 077aad7

Please sign in to comment.