]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00180236-2: spdif clk usecount is 1 when not in use
authorAdrian Alonso <aalonso@freescale.com>
Wed, 25 Apr 2012 23:05:44 +0000 (18:05 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:30 +0000 (08:34 +0200)
commitf8bfac43770c4edd4366811d1ee09deb436128ee
tree9c86734192800efa2f0a5617d9d68dbf4451ab9f
parent080a55697f9144c91749ff59a2de725d1077550b
ENGR00180236-2: spdif clk usecount is 1 when not in use

* Move spdif_core_clk enable from spdif_probe to spdif_startup
  function in order to avoid initializing the core clock
  when module is not in use.
* At spdif_shutdown disable spdif core_clk.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
sound/soc/codecs/mxc_spdif.c