Merge remote-tracking branches 'asoc/topic/compress', 'asoc/topic/const' and 'asoc/topic/cs35l34' into asoc-next
This commit is contained in:
@@ -207,6 +207,30 @@ struct snd_soc_dai_ops {
|
||||
struct snd_soc_dai *);
|
||||
};
|
||||
|
||||
struct snd_soc_cdai_ops {
|
||||
/*
|
||||
* for compress ops
|
||||
*/
|
||||
int (*startup)(struct snd_compr_stream *,
|
||||
struct snd_soc_dai *);
|
||||
int (*shutdown)(struct snd_compr_stream *,
|
||||
struct snd_soc_dai *);
|
||||
int (*set_params)(struct snd_compr_stream *,
|
||||
struct snd_compr_params *, struct snd_soc_dai *);
|
||||
int (*get_params)(struct snd_compr_stream *,
|
||||
struct snd_codec *, struct snd_soc_dai *);
|
||||
int (*set_metadata)(struct snd_compr_stream *,
|
||||
struct snd_compr_metadata *, struct snd_soc_dai *);
|
||||
int (*get_metadata)(struct snd_compr_stream *,
|
||||
struct snd_compr_metadata *, struct snd_soc_dai *);
|
||||
int (*trigger)(struct snd_compr_stream *, int,
|
||||
struct snd_soc_dai *);
|
||||
int (*pointer)(struct snd_compr_stream *,
|
||||
struct snd_compr_tstamp *, struct snd_soc_dai *);
|
||||
int (*ack)(struct snd_compr_stream *, size_t,
|
||||
struct snd_soc_dai *);
|
||||
};
|
||||
|
||||
/*
|
||||
* Digital Audio Interface Driver.
|
||||
*
|
||||
@@ -236,6 +260,7 @@ struct snd_soc_dai_driver {
|
||||
|
||||
/* ops */
|
||||
const struct snd_soc_dai_ops *ops;
|
||||
const struct snd_soc_cdai_ops *cops;
|
||||
|
||||
/* DAI capabilities */
|
||||
struct snd_soc_pcm_stream capture;
|
||||
|
Reference in New Issue
Block a user