aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-12-04 12:48:16 +0000
committerMark Brown <broonie@kernel.org>2019-12-24 23:56:13 +0000
commit98910e1d61384430a080b4bcf986c3b0cf3fdf46 (patch)
treeea84555e5aa9a9c1c8898395c2590abd762f730b /sound/soc/soc-core.c
parentASoC: SOF: Intel: hda: hda-dai: fix oops on hda_link .hw_free (diff)
downloadlinux-dev-98910e1d61384430a080b4bcf986c3b0cf3fdf46.tar.xz
linux-dev-98910e1d61384430a080b4bcf986c3b0cf3fdf46.zip
ASoC: SOF: imx8: fix memory allocation failure check on priv->pd_dev
The memory allocation failure check for priv->pd_dev is incorrectly pointer checking priv instead of priv->pd_dev. Fix this. Addresses-Coverity: ("Logically dead code") Fixes: 202acc565a1f ("ASoC: SOF: imx: Add i.MX8 HW support") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191204124816.1415359-1-colin.king@canonical.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions