ASoC: Intel: Skylake: Add DSP module init and binding routines
A module needs to be instantiated and then connected with other modules. On cleanup we need to disconnect the module. This is achieved by helpers module init, bind and unbind which are added here Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -263,5 +263,14 @@ struct skl_module_cfg {
|
||||
struct skl_specific_cfg formats_config;
|
||||
};
|
||||
|
||||
int skl_init_module(struct skl_sst *ctx, struct skl_module_cfg *module_config,
|
||||
char *param);
|
||||
|
||||
int skl_bind_modules(struct skl_sst *ctx, struct skl_module_cfg
|
||||
*src_module, struct skl_module_cfg *dst_module);
|
||||
|
||||
int skl_unbind_modules(struct skl_sst *ctx, struct skl_module_cfg
|
||||
*src_module, struct skl_module_cfg *dst_module);
|
||||
|
||||
enum skl_bitdepth skl_get_bit_depth(int params);
|
||||
#endif
|
||||
|
مرجع در شماره جدید
Block a user