diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-04-29 00:43:21 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-05-04 18:26:50 +0530 |
commit | a0df7e04eab07cb2c08517209f792a8070504f0d (patch) | |
tree | 8168a67add052b9c406a5f4e62ede702d3a37af3 /drivers/soundwire/intel_auxdevice.c | |
parent | 75933ba58dd49ded547ad0d00c74c0cb862530f9 (diff) | |
download | lwn-a0df7e04eab07cb2c08517209f792a8070504f0d.tar.gz lwn-a0df7e04eab07cb2c08517209f792a8070504f0d.zip |
soundwire: intel_ace2.x: add support for DOAISE property
Extend previous patches with the DOAISE field and property.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240429004321.2399754-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel_auxdevice.c')
-rw-r--r-- | drivers/soundwire/intel_auxdevice.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/soundwire/intel_auxdevice.c b/drivers/soundwire/intel_auxdevice.c index 7310441050b1..17cf27e6ea73 100644 --- a/drivers/soundwire/intel_auxdevice.c +++ b/drivers/soundwire/intel_auxdevice.c @@ -159,11 +159,15 @@ static int sdw_master_read_intel_prop(struct sdw_bus *bus) return -ENOMEM; /* initialize with hardware defaults, in case the properties are not found */ + intel_prop->doaise = 0x1; intel_prop->doais = 0x3; intel_prop->dodse = 0x0; intel_prop->dods = 0x1; fwnode_property_read_u16(link, + "intel-sdw-doaise", + &intel_prop->doaise); + fwnode_property_read_u16(link, "intel-sdw-doais", &intel_prop->doais); fwnode_property_read_u16(link, @@ -174,7 +178,8 @@ static int sdw_master_read_intel_prop(struct sdw_bus *bus) &intel_prop->dods); bus->vendor_specific_prop = intel_prop; - dev_dbg(bus->dev, "doais %#x dodse %#x dods %#x\n", + dev_dbg(bus->dev, "doaise %#x doais %#x dodse %#x dods %#x\n", + intel_prop->doaise, intel_prop->doais, intel_prop->dodse, intel_prop->dods); |