summaryrefslogtreecommitdiffstats
path: root/sound/ppc/awacs.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-03-29 13:30:59 +0200
committerTakashi Iwai <tiwai@suse.de>2021-03-30 13:16:42 +0200
commit66affb7bb0dc0905155a1b2475261aa704d1ddb5 (patch)
tree862eb907011a4713bb40d130a156d33fd0db8196 /sound/ppc/awacs.c
parentc8f79808cd8eb5bc8d14de129bd6d586d3fce0aa (diff)
downloadlinux-66affb7bb0dc0905155a1b2475261aa704d1ddb5.tar.bz2
ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
The recently added PM prepare and complete callbacks don't have the sanity check whether the card instance has been properly initialized, which may potentially lead to Oops. This patch adds the azx_is_pm_ready() call in each place appropriately like other PM callbacks. Fixes: f5dac54d9d93 ("ALSA: hda: Separate runtime and system suspend") Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210329113059.25035-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/awacs.c')
0 files changed, 0 insertions, 0 deletions