diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-04-26 16:09:05 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-11 19:18:07 +0300 |
commit | c46302ec554c575e79d791c7c84fd4c795e97680 (patch) | |
tree | 18e024099493344313b67af1f52b7bba82956376 /drivers/soundwire/intel.h | |
parent | 37a2d22b402d6713b1a21a30416550e716a9327b (diff) | |
download | linux-c46302ec554c575e79d791c7c84fd4c795e97680.tar.xz |
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.h')
-rw-r--r-- | drivers/soundwire/intel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/soundwire/intel.h b/drivers/soundwire/intel.h index ffa30d9535a2..c1a5bac6212e 100644 --- a/drivers/soundwire/intel.h +++ b/drivers/soundwire/intel.h @@ -10,6 +10,8 @@ * @shim: Audio shim pointer * @alh: ALH (Audio Link Hub) pointer * @irq: Interrupt line + * @ops: Shim callback ops + * @arg: Shim callback ops argument * * This is set as pdata for each link instance. */ @@ -18,6 +20,8 @@ struct sdw_intel_link_res { void __iomem *shim; void __iomem *alh; int irq; + const struct sdw_intel_ops *ops; + void *arg; }; #endif /* __SDW_INTEL_LOCAL_H */ |