ASoC: Intel: cht_bsw_rt5672: use actual HID in suspend/resume
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 8 Sep 2017 01:12:55 +0000 (20:12 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Sep 2017 16:14:52 +0000 (17:14 +0100)
commite45e39123a04a1bb1fbccfcd4c59efc332a0037f
tree906bc45af682c4c3227d5707293be057d180c580
parent89db6f9632e38b6b5cc7f23f4b67f74470319978
ASoC: Intel: cht_bsw_rt5672: use actual HID in suspend/resume

The code scans all components looking for the default name
i2c-10EC5670:00, which of course doesn't work in platforms
where the BIOS uses a different HID such as Dell 5585

Since we already have the correct information available, just
use the actual codec name and length.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5672.c