]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: imx-audmux: Silence a clang warning
authorFabio Estevam <festevam@gmail.com>
Thu, 26 May 2022 01:05:43 +0000 (22:05 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:38:29 +0000 (12:38 +0100)
commit5a54b09269c3b40ddf70ced08abb5a689d958d11
tree74514a8d0843cdebf0f707ee0ef96cd70d604c20
parent35b600a1aab15296b5b44ca979f48ab09a8469f6
ASoC: imx-audmux: Silence a clang warning

Change the of_device_get_match_data() cast to (uintptr_t)
to silence the following clang warning:

sound/soc/fsl/imx-audmux.c:301:16: warning: cast to smaller integer type 'enum imx_audmux_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 98ded3e4a388 ("ASoC: imx-audmux: Remove unused .id_table")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20220526010543.1164793-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmux.c