]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bytcht_es8316: fix compilation warning
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 19 Apr 2019 20:12:16 +0000 (15:12 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 25 Apr 2019 19:23:03 +0000 (20:23 +0100)
commitf32d135b822d1ddd7c1f3fcb915d63bf7cbe93cd
tree87db47a4070b2ed88ac64bf7988676900b248e58
parent4c38856f2ec1102dd0ae25d86a20e648f94d00da
ASoC: Intel: bytcht_es8316: fix compilation warning

Remove warning below, align with other machine drivers.

bytcht_es8316.c:508:11: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]

   quirk = (int)dmi_id->driver_data;
           ^
Fixes: b61fa764f01f0 ('ASoC: Intel: bytcht_es8316: Add quirk for the Teclast X98+ II')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcht_es8316.c