ASoC: nau8825: add pm function
authorYong Zhi <yong.zhi@intel.com>
Mon, 9 Nov 2015 20:56:00 +0000 (12:56 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 17:43:47 +0000 (17:43 +0000)
commit4454a8378be5809c2b830531bb4c4712b5e46bef
tree27841185d913d456f2a5ab20a4c62dd03cd3f1b1
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: nau8825: add pm function

This patch adds pm function and fixes following issues
1.i2c timeout after resume, after resume we saw interrupt handler
is called prior to i2c controller is resumed.This causes i2c timeout
2.no audio after resume

Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c