]> 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)
commitccd7d01741c9dd556441d18b5e171eb4314e2dcc
tree87db47a4070b2ed88ac64bf7988676900b248e58
parent59611ee74ec74d9a02bb988257a8841724530eba
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: 5e9431b3373d4 ('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