ASoC: cht_bsw_rt5672: Use HID translation unit
authorTakashi Iwai <tiwai@suse.de>
Fri, 25 Nov 2016 14:40:18 +0000 (15:40 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 30 Nov 2016 18:00:59 +0000 (18:00 +0000)
commitfee3244cd1f5af813a24537950e211eee4f33297
tree9840bc9573bb463cebdb92e2a3a6efbaa95bf4b9
parent786e1c37194e8e822eb72a0aed5fa850e07071a0
ASoC: cht_bsw_rt5672: Use HID translation unit

Instead of hard-coded "i2c-10EC5670:00", use the translation helper to
avoid the mismatch between i2c-codec and ACPI strings just like what
we've done for bytcr_rt5640.  This gives more robust binding on funky
devices like Dell Wyse 3040.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-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