drivers/i2c/max98373: update DT property names
Upstream Kernel side codec driver expect DT properties to have 'maxim' prefix. Update accordingly while filling SSDT entries. BUG=b:79362472 TEST=dump DT properties in kerenl side and cross checked TEST=Audio playback works with this change Change-Id: Iaa4b14492dbb5a0087242f1485493f3192336f60 Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> Reviewed-on: https://review.coreboot.org/26532 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
4702914e34
commit
adb176b81a
1 changed files with 5 additions and 3 deletions
|
@ -62,9 +62,11 @@ static void max98373_fill_ssdt(struct device *dev)
|
|||
/* Device Properties */
|
||||
dp = acpi_dp_new_table("_DSD");
|
||||
|
||||
acpi_dp_add_integer(dp, "interleave_mode", config->interleave_mode);
|
||||
acpi_dp_add_integer(dp, "vmon-slot-no", config->vmon_slot_no);
|
||||
acpi_dp_add_integer(dp, "imon-slot-no", config->imon_slot_no);
|
||||
if (config->interleave_mode)
|
||||
acpi_dp_add_integer(dp, "maxim,interleave_mode",
|
||||
config->interleave_mode);
|
||||
acpi_dp_add_integer(dp, "maxim,vmon-slot-no", config->vmon_slot_no);
|
||||
acpi_dp_add_integer(dp, "maxim,imon-slot-no", config->imon_slot_no);
|
||||
|
||||
acpi_dp_write(dp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue