summaryrefslogtreecommitdiff
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-29 14:03:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-27 14:13:03 +0900
commit5ee86945565e99aa1cf403358ce360b49a0c9a57 (patch)
tree15941132dc1358764d99b01f39e1bc1f7586a709 /mm/mempolicy.c
parent670d934a1ea178d7543e6f50b515c76cebeb2fcf (diff)
ALSA: hda - Record the current power state before suspend/resume calls
commit 98081ca62cbac31fb0f7efaf90b2e7384ce22257 upstream. Currently we deal with single codec and suspend codec callbacks for all S3, S4 and runtime PM handling. But it turned out that we want distinguish the call patterns sometimes, e.g. for applying some init sequence only at probing and restoring from hibernate. This patch slightly modifies the common PM callbacks for HD-audio codec and stores the currently processed PM event in power_state of the codec's device.power field, which is currently unused. The codec callback can take a look at this event value and judges which purpose it's being called. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions