diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-08-08 22:54:50 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-14 13:10:00 +0100 |
commit | 624fee45111d587ab346b2fc3bcc316615fd97e8 (patch) | |
tree | 9f348d42944f5136ba8705693a09666827bd18c1 /sound/soc/ti/omap-dmic.c | |
parent | 85cc1ee9505e0b458254a54ca053dabf650fd266 (diff) | |
download | lwn-624fee45111d587ab346b2fc3bcc316615fd97e8.tar.gz lwn-624fee45111d587ab346b2fc3bcc316615fd97e8.zip |
ASoC: soc-dai.h: merge DAI call back functions into ops
snd_soc_dai_driver has .ops for call back functions (A), but it also
has other call back functions (B). It is duplicated and confusable.
struct snd_soc_dai_driver {
...
^ int (*probe)(...);
| int (*remove)(...);
(B) int (*compress_new)(...);
| int (*pcm_new)(...);
v ...
(A) const struct snd_soc_dai_ops *ops;
...
}
This patch merges (B) into (A).
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87v8dpb0w6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ti/omap-dmic.c')
0 files changed, 0 insertions, 0 deletions