ASoC: da7213: Update driver to use device_property* FW functions
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Fri, 19 May 2017 14:32:25 +0000 (15:32 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 May 2017 16:01:58 +0000 (17:01 +0100)
commit0e54153b6685712c1e0eaa31c0c199fdce121b28
tree4ba0739b89d51806b7388df0211a82c2782125fd
parent14f814fbedd749992476bb365b454b2170b3b225
ASoC: da7213: Update driver to use device_property* FW functions

The driver now supports ACPI based initialisation as well as DT
and old pdata methods. However the FW data handling still uses
DT specific calls to read firmware data (of_property*) so for
ACPI based initialisation the FW data will only be set to default
values. This patch updates the FW handling to use device_property*
calls instead so that both ACPI and DT are handled as expected.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7213.c