ASoC: dwc: Fix non-DT instantiation
authorMark Brown <broonie@kernel.org>
Fri, 13 Oct 2023 17:37:33 +0000 (18:37 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 13 Oct 2023 17:40:27 +0000 (18:40 +0100)
commit9c97790a07dc4f9bdc6e1701003dc9b86f749c71
treebde6ee1ffe03e6bcdffaa2a2dc05671354b65bd7
parent4e9a429ae80657bdc502d3f5078e2073656ec5fd
ASoC: dwc: Fix non-DT instantiation

Commit d6d6c513f5d2 ("ASoC: dwc: Use ops to get platform data")
converted the DesignWare I2S driver to use a DT specific function to
obtain platform data but this breaks at least non-DT systems such as
AMD.  Revert it.

Fixes: d6d6c513f5d2 ("ASoC: dwc: Use ops to get platform data")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20231013-asoc-fix-dwc-v1-1-63211bb746b9@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/dwc-i2s.c