diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-04-26 18:39:05 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-11 21:48:07 +0530 |
commit | c46302ec554c575e79d791c7c84fd4c795e97680 (patch) | |
tree | 18e024099493344313b67af1f52b7bba82956376 /drivers/soundwire/intel_init.c | |
parent | 37a2d22b402d6713b1a21a30416550e716a9327b (diff) | |
download | linux-stable-c46302ec554c575e79d791c7c84fd4c795e97680.tar.gz linux-stable-c46302ec554c575e79d791c7c84fd4c795e97680.tar.bz2 linux-stable-c46302ec554c575e79d791c7c84fd4c795e97680.zip |
soundwire: intel: Add audio DAI ops
Add DAI registration and DAI ops for the Intel driver along with
callback for topology configuration.
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel_init.c')
-rw-r--r-- | drivers/soundwire/intel_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soundwire/intel_init.c b/drivers/soundwire/intel_init.c index 6f2bb99526f2..d1ea6b4d0ad3 100644 --- a/drivers/soundwire/intel_init.c +++ b/drivers/soundwire/intel_init.c @@ -111,6 +111,9 @@ static struct sdw_intel_ctx link->res.shim = res->mmio_base + SDW_SHIM_BASE; link->res.alh = res->mmio_base + SDW_ALH_BASE; + link->res.ops = res->ops; + link->res.arg = res->arg; + memset(&pdevinfo, 0, sizeof(pdevinfo)); pdevinfo.parent = res->parent; |