diff options
author | Nicolas Frattaroli <frattaroli.nicolas@gmail.com> | 2021-11-25 09:48:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-30 14:08:01 +0100 |
commit | 53689f7f91a2ab0079422e1d1b6e096cf68d58f4 (patch) | |
tree | ee82d59bc9de559e496026eac77391a48544f988 /sound/i2c/other | |
parent | Suspend related fixes on Tegra (diff) | |
download | linux-53689f7f91a2ab0079422e1d1b6e096cf68d58f4.tar.xz linux-53689f7f91a2ab0079422e1d1b6e096cf68d58f4.zip |
ASoC: rockchip: i2s_tdm: Dup static DAI template
Previously, the DAI template was used directly, which lead to
fun bugs such as "why is my channels_max changing?" when one
instantiated more than one i2s_tdm IP block in a device tree.
This change makes it so that we instead duplicate the template
struct, and then use that.
Fixes: 081068fd6414 ("ASoC: rockchip: add support for i2s-tdm controller")
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Link: https://lore.kernel.org/r/20211125084900.417102-1-frattaroli.nicolas@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/i2c/other')
0 files changed, 0 insertions, 0 deletions