diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2020-02-24 07:52:02 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-24 20:34:07 +0000 |
commit | 8308a09e87d2cb51adb186dc7d5a5c1913fb0758 (patch) | |
tree | 640f2b7cc6c206e37e845e5757ef2867991acdff /sound/i2c/other/Makefile | |
parent | ASoC: soc-pcm/soc-compress: don't use snd_soc_dapm_stream_stop() (diff) | |
download | linux-dev-8308a09e87d2cb51adb186dc7d5a5c1913fb0758.tar.xz linux-dev-8308a09e87d2cb51adb186dc7d5a5c1913fb0758.zip |
ASoC: Intel: Skylake: Fix available clock counter incrementation
Incrementation of avail_clk_cnt was incorrectly moved to error path. Put
it back to success path.
Fixes: 6ee927f2f01466 ('ASoC: Intel: Skylake: Fix NULL ptr dereference when unloading clk dev')
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200224125202.13784-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/i2c/other/Makefile')
0 files changed, 0 insertions, 0 deletions