ASoC: rockchip: spdif: Handle clk by pm runtime
authorSugar Zhang <sugar.zhang@rock-chips.com>
Mon, 13 Jul 2020 10:26:00 +0000 (18:26 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jul 2020 16:53:46 +0000 (17:53 +0100)
commitf50d67f9eff62f8078fe6e98ede3f4fb1defc361
tree7894983d85902e58c6accb1edfc4325fd727cb31
parent1c62ec5f1a0f9330c251433e6290e9441c7326b9
ASoC: rockchip: spdif: Handle clk by pm runtime

This patch handle the clk by pm runtime mechanism to simplify
the clk management.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1594635960-67855-1-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_spdif.c