summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>2019-02-08 17:29:53 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-05 22:33:08 +0200
commitccce764322d8d95262009892c354ed3acdcafb6f (patch)
tree76586bd6d17a17017944f15fcf250006c70b39e4 /drivers/net/wireless
parentd21a63fc1e53f16911c8f162f739b85b734bdf04 (diff)
downloadlinux-stable-ccce764322d8d95262009892c354ed3acdcafb6f.tar.gz
linux-stable-ccce764322d8d95262009892c354ed3acdcafb6f.tar.bz2
linux-stable-ccce764322d8d95262009892c354ed3acdcafb6f.zip
ALSA: PCM: check if ops are defined before suspending PCM
[ Upstream commit d9c0b2afe820fa3b3f8258a659daee2cc71ca3ef ] BE dai links only have internal PCM's and their substream ops may not be set. Suspending these PCM's will result in their ops->trigger() being invoked and cause a kernel oops. So skip suspending PCM's if their ops are NULL. [ NOTE: this change is required now for following the recent PCM core change to get rid of snd_pcm_suspend() call. Since DPCM BE takes the runtime carried from FE while keeping NULL ops, it can hit this bug. See details at: https://github.com/thesofproject/linux/pull/582 -- tiwai ] Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions