[alsa-devel] [PATCH] ASoC: Intel: Skylake: fix swapped order of function arguments dir and pin_index

Vinod Koul vinod.koul at intel.com
Fri Sep 22 12:13:52 CEST 2017


On Wed, Sep 20, 2017 at 02:01:25PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> The call to slk_tplg_fill_res_tkn is passing dir and pin_index in the
> wrong order, they need to be in pin_index, dir order to match the function
> slk_tplg_fill_res_tkn  correctly.
> 
> Detected by CoveritScan, CID#1454992 ("Arguments in wrong order")

thanks for this.


Acked-By: Vinod Koul <vinod.koul at intel.com>
Tested-by: Subhransu S. Prusty <subhransu.s.prusty at intel.com>

-- 
~Vinod


More information about the Alsa-devel mailing list