Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26916b79 authored by Ben Romberger's avatar Ben Romberger
Browse files

ASoC: msm: Move ASM custom topology data out of Debugfs define



Move variables used for ASM custom topology out of
the debugfs define. ASM custom topology should be
enabled even when debugfs is not.

Change-Id: Ia690269703e71410e7837956315747f8ec2bee17
CRs-fixed: 551711
Signed-off-by: default avatarBen Romberger <bromberg@codeaurora.org>
parent 0d6eafbe
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -78,6 +78,12 @@ static int q6asm_map_channels(u8 *channel_mapping, uint32_t channels);
void *q6asm_mmap_apr_reg(void);


/* for ASM custom topology */
static struct audio_buffer common_buf[2];
static struct audio_client common_client;
static int set_custom_topology;
static int topology_map_handle;

#ifdef CONFIG_DEBUG_FS
#define OUT_BUFFER_SIZE 56
#define IN_BUFFER_SIZE 24
@@ -95,10 +101,6 @@ static int in_cont_index;
static int out_cold_index;
static char *out_buffer;
static char *in_buffer;
static struct audio_buffer common_buf[2];
static struct audio_client common_client;
static int set_custom_topology;
static int topology_map_handle;


int q6asm_mmap_apr_dereg(void)