mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
ASoC: intel: skylake: Add missing break in skl_tplg_get_token()
commit9c80c5a883upstream. skl_tplg_get_token() misses a break in the big switch() block for SKL_TKN_U8_CORE_ID entry. Spotted nicely by -Wimplicit-fallthrough compiler option. Fixes:6277e83292("ASoC: Intel: Skylake: Parse vendor tokens to build module data") Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
db1af96418
commit
31a02dd4ee
@@ -2458,6 +2458,7 @@ static int skl_tplg_get_token(struct device *dev,
|
||||
|
||||
case SKL_TKN_U8_CORE_ID:
|
||||
mconfig->core_id = tkn_elem->value;
|
||||
break;
|
||||
|
||||
case SKL_TKN_U8_MOD_TYPE:
|
||||
mconfig->m_type = tkn_elem->value;
|
||||
|
||||
Reference in New Issue
Block a user