Commit 77a65118 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman

ASoC: intel: skylake: Add missing break in skl_tplg_get_token()

commit 9c80c5a8 upstream.

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: 6277e832 ("ASoC: Intel: Skylake: Parse vendor tokens to build module data")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c1400b3
...@@ -2461,6 +2461,7 @@ static int skl_tplg_get_token(struct device *dev, ...@@ -2461,6 +2461,7 @@ static int skl_tplg_get_token(struct device *dev,
case SKL_TKN_U8_CORE_ID: case SKL_TKN_U8_CORE_ID:
mconfig->core_id = tkn_elem->value; mconfig->core_id = tkn_elem->value;
break;
case SKL_TKN_U8_MOD_TYPE: case SKL_TKN_U8_MOD_TYPE:
mconfig->m_type = tkn_elem->value; mconfig->m_type = tkn_elem->value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment