]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: i2s: Add get_other_dai helper function
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 14 Jan 2015 18:42:33 +0000 (19:42 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 19:46:54 +0000 (19:46 +0000)
commite50d848687b02e51c03dfec3400287d03bd0662b
tree0359d50544616efd303a39cca0ec2b8115ad697e
parentd2f5085d4da795d4fb868f01b61e5c2cd0328e8d
ASoC: samsung: i2s: Add get_other_dai helper function

The code to get pointer to the other DAI is repeated multiple
times. Add a helper function and use it instead.

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