alistair23-linux/sound/soc/intel/skylake
Dan Carpenter 87684d338a
ASoC: Intel: Skylake: Re-order some code to silence a warning
I get a Smatch warning here:

    sound/soc/intel/skylake/skl-nhlt.c:335 skl_get_ssp_clks()
    error: testing array offset 'j' after use.

The code is harmless, but the checker is right that we should swap these
two conditions so we verify that the offset is within bounds before we
use it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sriram Periyasamy <sriramx.periyasamy@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-12-11 11:43:15 +00:00
..
bxt-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
cnl-sst-dsp.c ASoC: Intel: cnl: Add cnl dsp functions and registers 2017-08-03 11:07:23 +01:00
cnl-sst-dsp.h ASoC: Intel: cnl: Add sst library functions for cnl platform 2017-08-03 11:07:33 +01:00
cnl-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
Makefile ASoC: Intel: cnl: Add sst library functions for cnl platform 2017-08-03 11:07:33 +01:00
skl-debug.c ASoC: Intel: Skylake: Remove driver debugfs exit 2017-07-03 16:50:49 +01:00
skl-i2s.h ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00
skl-messages.c ASoC: Intel: Skylake: Configure DSP clock source 2017-12-06 17:44:59 +00:00
skl-nhlt.c ASoC: Intel: Skylake: Re-order some code to silence a warning 2017-12-11 11:43:15 +00:00
skl-nhlt.h ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt 2016-05-30 18:16:44 +01:00
skl-pcm.c ASoC: Intel: Skylake: Configure DSP clock source 2017-12-06 17:44:59 +00:00
skl-ssp-clk.h ASoC: Intel: Skylake: Parse nhlt and register clock device 2017-11-29 15:39:47 +00:00
skl-sst-cldma.c ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-cldma.h ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-dsp.c ASoC: Intel: Skylake: Fix DSP core ref count for init failure 2017-08-23 11:55:18 +01:00
skl-sst-dsp.h ASoC: Intel: Skylake: Configure DSP clock source 2017-12-06 17:44:59 +00:00
skl-sst-ipc.c ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-ipc.h ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: Fix descriptions for exported function args 2017-12-04 18:02:42 +00:00
skl-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
skl-topology.c ASoC: Intel: Skylake: Parse vendor tokens to build A-State table 2017-12-06 17:44:54 +00:00
skl-topology.h ASoC: Intel: Skylake: Add dai load ops for dais from topology 2017-10-13 20:25:20 +01:00
skl-tplg-interface.h ASoC: Intel: Skylake: Add enum control for mic selection 2017-06-06 20:00:43 +01:00
skl.c ASoC: Intel: Skylake: Make local functions static 2017-12-04 18:02:17 +00:00
skl.h ASoC: Intel: Skylake: Parse vendor tokens to build A-State table 2017-12-06 17:44:54 +00:00