]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00234501 ASoC: spdif: fix Ubuntu reboot hang issue
authorNicolin Chen <b42378@freescale.com>
Mon, 11 Mar 2013 09:09:14 +0000 (17:09 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:56 +0000 (08:35 +0200)
commit40622c8f30e3e6ae63c936f35d8c2f1ad01c2282
tree2df3b0b0ad14b658a4e3f82cda6aaadd008ff744
parentd8fa57c58c5c4bb9581c0f3e75acbf377a44ea27
ENGR00234501 ASoC: spdif: fix Ubuntu reboot hang issue

  spdif driver registered kcontrol for ALSA subsystem controlling, while some
of those kcontrol functions lack of clk_enable() before register-accessing. So
system would definitely hang when those functions're called, which did happen
during reboot test on Ubuntu due to its pulse-audio.
  This patch added paired clk_en/disable() to those functions so as to pevent
system hang issue.

Acked-by: Wang Shengjiu <b02247@freescale.com>
Tested-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
sound/soc/codecs/mxc_spdif.c