linux_dsm_epyc7002/sound/soc/intel/boards
Colin Ian King de5afce2a2
ASoC: Intel: bytcr_rt565: fix missing assignment to ret_val
Currently, the check that ret_val is not -ENOENT is always true and
the quirk bit BYT_RY5651_MCLK_EN is never being cleared because ret_val
is always zero at this point from a previous assignment earlier on.
I believe that ret_val should actually be assigned to the return from
devm_clk_get() as this can return -ENOENT (from a deeper call to
clk_get_sys) and that was the original intention to check this.

Detected by CoverityScan, CID#1460228 ("Logically dead code")

Fixes: 02c0a3b304 ("ASoC: Intel: bytcr_rt5651: add MCLK, quirks and cleanups")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-05-03 10:23:54 +09:00
..
bdw-rt5677.c Merge remote-tracking branches 'asoc/topic/rt5645', 'asoc/topic/rt5651', 'asoc/topic/rt5659' and 'asoc/topic/rt5660' into asoc-next 2018-03-28 10:30:29 +08:00
broadwell.c Merge branch 'topic/component-platform' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel 2018-03-01 19:55:59 +00:00
bxt_da7219_max98357a.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
bxt_rt298.c ASoC: Intel: board: Add BE DAI link for WoV and update DAPM machine map. 2018-03-01 19:40:04 +00:00
byt-max98090.c ASoC: intel: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:38:47 +01:00
byt-rt5640.c ASoC: rt5640: replace codec to component 2018-02-12 09:45:47 +00:00
bytcht_da7213.c ASoC: Intel - Convert to use acpi_dev_get_first_match_name() 2018-01-12 21:20:29 +00:00
bytcht_es8316.c ASoC: Intel - Convert to use acpi_dev_get_first_match_name() 2018-01-12 21:20:29 +00:00
bytcht_nocodec.c ASoC: Intel: boards: remove hard-coded compressed dailinks 2017-10-18 12:30:29 +01:00
bytcr_rt5640.c ASoC: rt5640: replace codec to component 2018-02-12 09:45:47 +00:00
bytcr_rt5651.c ASoC: Intel: bytcr_rt565: fix missing assignment to ret_val 2018-05-03 10:23:54 +09:00
cht_bsw_max98090_ti.c Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2017-11-10 21:30:53 +00:00
cht_bsw_nau8824.c ASoC: Intel: fix argument error in nau8824 machine 2018-03-02 11:29:20 +00:00
cht_bsw_rt5645.c ASoC: rt5645/rt5677: replace codec to component 2018-02-12 11:18:44 +00:00
cht_bsw_rt5672.c ASoC: rt5670: replace codec to component 2018-02-12 09:46:19 +00:00
haswell.c ASoC: intel: haswell: replace platform to component 2018-02-12 11:45:11 +00:00
kbl_da7219_max98357a.c ASoC: intel: kbl_da7219_max98357: replace codec to component 2018-02-19 11:32:52 +00:00
kbl_rt5663_max98927.c ASoC: Intel: kbl: Enable mclk and ssp sclk early for rt5663 2018-03-01 16:23:20 +00:00
kbl_rt5663_rt5514_max98927.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
Kconfig ASoC: Intel: add nau8824 sound card 2018-03-01 16:48:46 +00:00
Makefile ASoC: Intel: add nau8824 sound card 2018-03-01 16:48:46 +00:00
skl_nau88l25_max98357a.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
skl_nau88l25_ssm4567.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00
skl_rt286.c ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component 2018-02-12 11:11:56 +00:00