ASoC: samsung: i2s: Let runtime PM operations to control op_clk too
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 29 Dec 2016 11:34:06 +0000 (12:34 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 31 Dec 2016 18:36:31 +0000 (18:36 +0000)
commitafa99da863e8e00efd8ce2f8840ed31d50abb889
tree632745e6d92e23a222dcdd6e58321ce2475641e0
parente7e52dfc68a2160570c7ec51415e391961160edb
ASoC: samsung: i2s: Let runtime PM operations to control op_clk too

This patch adds handling of parent operational clock to runtime PM
callbacks. This way it is ensured that when I2S module is in runtime
suspended state, all its parent clocks are disabled and unprepared.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c