summaryrefslogtreecommitdiff
path: root/net/rds/ib.c
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2016-03-28 19:41:31 +0300
committerMark Brown <broonie@kernel.org>2016-03-28 12:38:00 +0300
commit4f329d9fbab630af44db2f787eb79ca52e6ba22e (patch)
tree88b0dc6e499f501ba2a69760d28536293ba69ebc /net/rds/ib.c
parentd643678b9a4e432a574b2ec601216afd720c69b6 (diff)
downloadlinux-4f329d9fbab630af44db2f787eb79ca52e6ba22e.tar.xz
ASoC: Intel: Skylake: Fix DSP resource de-allocation
In PRE PMD of widget handler DSP resources are allocated after the creation of DSP pipe and modules and in POST PMD DSP resources are destroyed. If there is any failure in pipe or module creation in PRE PMD, pcm trigger fails and finally POST PMD gets called and DSP resources are freed, without getting allocated. Fixes the DSP resource de-allocation by allocating the resource before creation of pipe and module in PRE PMD and in POST PMD, free the resources. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/rds/ib.c')
0 files changed, 0 insertions, 0 deletions