diff options
author | shengjiu wang <shengjiu.wang@nxp.com> | 2020-12-16 18:44:24 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-16 13:53:52 +0000 |
commit | acd894aee3149c15847bc4f0690fccba59ced5e7 (patch) | |
tree | a2a70d5b4ab8715696838fb6cbec99256e5d78f8 /sound/soc/atmel | |
parent | e49037ad12e47cd34239b99b010c5438844923af (diff) |
ASoC: imx-hdmi: Fix warning of the uninitialized variable ret
When condition ((hdmi_out && hdmi_in) || (!hdmi_out && !hdmi_in))
is true, then goto fail, the uninitialized variable ret will be
returned.
Signed-off-by: shengjiu wang <shengjiu.wang@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Fixes: 6a5f850aa83a ("ASoC: fsl: Add imx-hdmi machine driver")
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1608115464-18710-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions