ASoC: samsung: i2s: Don't use register read to determine slave/master mode
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 19 Mar 2019 12:11:02 +0000 (13:11 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 20 Mar 2019 17:10:45 +0000 (17:10 +0000)
commitf29eec793d4d16a1019abac1ac0702d07adae78e
treea78eca7af27ffc82c21a691cc9e27f65ee9ea045
parentbf31cbfbe25001036e1e096b1c260bf871766ea5
ASoC: samsung: i2s: Don't use register read to determine slave/master mode

We can simplify the code by caching the CPU DAI master/slave
information rather than reading previously set register bit.

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