ASoC: samsung: i2s: Move clk supplier data to common driver data structure
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 12 Feb 2019 18:03:23 +0000 (19:03 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 13 Feb 2019 11:45:38 +0000 (11:45 +0000)
commit89d2e831487682b567525275f89d679793dd53da
tree7ba400dd5fde38ec4026d3db86d06789f3a2b67d
parent3636887ac64b5f1ed3e5aa19ab790de115601508
ASoC: samsung: i2s: Move clk supplier data to common driver data structure

Having the clocks provider data in struct samsung_i2s_priv, i.e. per the I2S
controller instance, rather than per CPU DAI better models the hardware and
simplifies the code a little. The clock provider is common for both DAIs.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c