diff options
| author | Kuninori Morimoto <[email protected]> | 2023-07-24 00:21:22 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-07-31 12:44:47 +0100 |
| commit | 8897a1475f278eb36d76df9684466b17b8dd4cab (patch) | |
| tree | fe62eb2592232ec6a54a7442f2e671cd1e9a0545 /tools/perf/scripts/python/netdev-times.py | |
| parent | 2cddb06cb020f02a69e4e065599c1e5aa8b4a5d1 (diff) | |
ASoC: rsnd: use DAI driver ID instead of DAI ID
Current rsnd is using DAI ID to get own priv data without setting
driver->id. It was no problem for Single Component, but will be problem
in case of Multi Component, because it is not a DAI serial number.
struct snd_soc_dai *snd_soc_register_dai(...)
{
...
if (dai_drv->id)
dai->id = dai_drv->id;
else
dai->id = component->num_dai;
...
}
This patch sets driver->id, and get serial number.
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions