]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: Intel: Skylake: Fix typo for token d0i3 caps
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Thu, 4 May 2017 08:39:11 +0000 (14:09 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 14 May 2017 09:49:17 +0000 (18:49 +0900)
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/snd_sst_tokens.h
sound/soc/intel/skylake/skl-topology.c

index 93392bedcc5870d64514ae84ab00095de4b9971f..89b82f6256ad0a76d8a7d36daae24a9a5df4a434 100644 (file)
@@ -213,8 +213,9 @@ enum SKL_TKNS {
        SKL_TKN_U32_LIB_COUNT,
        SKL_TKN_STR_LIB_NAME,
        SKL_TKN_U32_PMODE,
-       SKL_TKL_U32_D0I3_CAPS,
-       SKL_TKN_MAX = SKL_TKL_U32_D0I3_CAPS,
+       SKL_TKL_U32_D0I3_CAPS, /* Typo added at v4.10 */
+       SKL_TKN_U32_D0I3_CAPS = SKL_TKL_U32_D0I3_CAPS,
+       SKL_TKN_MAX = SKL_TKN_U32_D0I3_CAPS,
 };
 
 #endif
index 3a99712e44a80df81f7ad27d52e69501f617e948..b28199a5348cec54f646850bb00f54c0d3475c80 100644 (file)
@@ -1995,7 +1995,7 @@ static int skl_tplg_get_token(struct device *dev,
                mconfig->converter = tkn_elem->value;
                break;
 
-       case SKL_TKL_U32_D0I3_CAPS:
+       case SKL_TKN_U32_D0I3_CAPS:
                mconfig->d0i3_caps = tkn_elem->value;
                break;