ALSA: ak411x: Add PM helper functions
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Jan 2015 10:24:08 +0000 (11:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 21:30:12 +0000 (22:30 +0100)
commit1293617cddc40971917150e3f5bf66b7306e2e7e
tree857f6dd1c0c278f290963f7a3739f89d1652d98d
parenta850ef8afd3cd1eecd2e136f8dca0c06599eade8
ALSA: ak411x: Add PM helper functions

Define snd_ak4114_suspend() and snd_ak4114_resume() functions to
handle PM properly, stopping and restarting the work at PM.
Currently only ice1712/juli.c deals with the PM and ak4114, so fix the
calls there appropriately.

The same PM functions are defined in ak4113.c, too, although they
aren't currently called yet (ice1712/quartet.c may be enhanced to
support PM later).

Acked-by: Jaroslav Kysela <perex@perex.cz>
Tested-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ak4113.h
include/sound/ak4114.h
sound/i2c/other/ak4113.c
sound/i2c/other/ak4114.c
sound/pci/ice1712/juli.c