Skip to content
Snippets Groups Projects
Commit f01b0a67 authored by Daniel Baluta's avatar Daniel Baluta Committed by Leonard Crestez
Browse files

MLK-18497-9: ASoC: fsl: dsp: Export xf_client_alloc


While at it add include guard to dsp.h

Reviewed-by: default avatarCosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
(cherry picked from commit a1c7e9a833bec9e517cc17c8e84e330dab198a7b)
Signed-off-by: default avatarVipul Kumar <vipul_kumar@mentor.com>
Signed-off-by: default avatarSrikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Signed-off-by: default avatarVipul Kumar <vipul_kumar@mentor.com>
parent 24f5db1c
No related branches found
No related tags found
No related merge requests found
......@@ -62,11 +62,16 @@
#include <soc/imx8/sc/svc/irq/api.h>
#include <soc/imx8/sc/ipc.h>
#include <soc/imx8/sc/sci.h>
#include "fsl_dsp.h"
#include <sound/pcm.h>
#include <sound/soc.h>
#include "fsl_dsp.h"
#include "fsl_dsp_pool.h"
#include "fsl_dsp_xaf_api.h"
/* ...allocate new client */
static inline struct xf_client *xf_client_alloc(struct fsl_dsp *dsp_priv)
struct xf_client *xf_client_alloc(struct fsl_dsp *dsp_priv)
{
struct xf_client *client;
u32 id;
......
......@@ -5,8 +5,10 @@
*
*/
#include <soc/imx8/sc/ipc.h>
#ifndef FSL_DSP_H
#define FSL_DSP_H
#include <uapi/linux/mxc_dsp.h>
#include <soc/imx8/sc/ipc.h>
#include "fsl_dsp_proxy.h"
......@@ -137,3 +139,6 @@ struct fsl_dsp {
void *memcpy_dsp(void *dest, const void *src, size_t count);
void *memset_dsp(void *dest, int c, size_t count);
struct xf_client *xf_client_lookup(struct fsl_dsp *dsp_priv, u32 id);
struct xf_client *xf_client_alloc(struct fsl_dsp *dsp_priv);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment