OSDN Git Service

ASoC: wm8994: Move runtime PM init to platform device init
authorMark Brown <broonie@linaro.org>
Mon, 1 Jul 2013 19:46:34 +0000 (20:46 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:12:57 +0000 (11:12 +0100)
commit57e265c8d71fb94c130bfb31f589cc9e97fb3928
treed05e19ca43294acf35bd612ad068dbf8d7979976
parentad81f0545ef01ea651886dddac4bef6cec930092
ASoC: wm8994: Move runtime PM init to platform device init

As well as being better style this allows the device to idle when there is
no audio card instantaited which is probably what we want.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8994.c