]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ASoC: samsung: i2s: Move registers cache to common driver data structure
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 12 Feb 2019 18:03:27 +0000 (19:03 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 13 Feb 2019 11:46:38 +0000 (11:46 +0000)
commit81bcbf2c72948d36ba431ac0812d7d7c3d8da0ce
tree573d6df53c2964117c40ae01d00fb4cabc93f724
parent3b0fa51ffd827b66f4362397acdfb9742c609b13
ASoC: samsung: i2s: Move registers cache to common driver data structure

There is no need to keep the PM suspend/resume register cache separate
for each DAI as those registers are common, move related i2s_dai data
structure to the driver's common data structure.  This will allow us
to simplify the code a little eventually and to make it easier to follow.

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