Commit ea7e5ee6 authored by Ranjani Sridharan's avatar Ranjani Sridharan Committed by Mark Brown
parent 5ef969e2
......@@ -260,4 +260,9 @@ int sof_pcm_dsp_pcm_free(struct snd_pcm_substream *substream, struct snd_sof_dev
struct snd_sof_pcm *spcm);
int sof_pcm_stream_free(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream,
struct snd_sof_pcm *spcm, int dir, bool free_widget_list);
int get_token_u32(void *elem, void *object, u32 offset);
int get_token_u16(void *elem, void *object, u32 offset);
int get_token_comp_format(void *elem, void *object, u32 offset);
int get_token_dai_type(void *elem, void *object, u32 offset);
int get_token_uuid(void *elem, void *object, u32 offset);
#endif
......@@ -477,7 +477,7 @@ struct sof_topology_token {
u32 offset;
};
static int get_token_u32(void *elem, void *object, u32 offset)
int get_token_u32(void *elem, void *object, u32 offset)
{
struct snd_soc_tplg_vendor_value_elem *velem = elem;
u32 *val = (u32 *)((u8 *)object + offset);
......@@ -486,7 +486,7 @@ static int get_token_u32(void *elem, void *object, u32 offset)
return 0;
}
static int get_token_u16(void *elem, void *object, u32 offset)
int get_token_u16(void *elem, void *object, u32 offset)
{
struct snd_soc_tplg_vendor_value_elem *velem = elem;
u16 *val = (u16 *)((u8 *)object + offset);
......@@ -495,7 +495,7 @@ static int get_token_u16(void *elem, void *object, u32 offset)
return 0;
}
static int get_token_uuid(void *elem, void *object, u32 offset)
int get_token_uuid(void *elem, void *object, u32 offset)
{
struct snd_soc_tplg_vendor_uuid_elem *velem = elem;
u8 *dst = (u8 *)object + offset;
......@@ -505,7 +505,7 @@ static int get_token_uuid(void *elem, void *object, u32 offset)
return 0;
}
static int get_token_comp_format(void *elem, void *object, u32 offset)
int get_token_comp_format(void *elem, void *object, u32 offset)
{
u32 *val = (u32 *)((u8 *)object + offset);
......@@ -513,7 +513,7 @@ static int get_token_comp_format(void *elem, void *object, u32 offset)
return 0;
}
static int get_token_dai_type(void *elem, void *object, u32 offset)
int get_token_dai_type(void *elem, void *object, u32 offset)
{
u32 *val = (u32 *)((u8 *)object + offset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment