-
由 Colin Ian King 提交于
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: 202acc56 ("ASoC: SOF: imx: Add i.MX8 HW support") Signed-off-by: NColin Ian King <colin.king@canonical.com> Reviewed-by: NDaniel Baluta <daniel.baluta@nxp.com> Acked-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191204124816.1415359-1-colin.king@canonical.comSigned-off-by: NMark Brown <broonie@kernel.org>
98910e1d