diff options
author | Shreyas NC <shreyas.nc@intel.com> | 2018-04-26 15:08:43 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-11 18:18:05 +0200 |
commit | c91605f4893828db39d448956114648459b254f0 (patch) | |
tree | a90bda6e9db28dcbb23eed0298c0896271573ecf /drivers/soundwire/cadence_master.h | |
parent | ASoC: Add SoundWire stream programming interface (diff) | |
download | linux-c91605f4893828db39d448956114648459b254f0.tar.xz linux-c91605f4893828db39d448956114648459b254f0.zip |
soundwire: Remove cdns_master_ops
There can be instances where drivers using Cadence IP might want
to set sdw_master_ops differently per instance of it's use, so
remove the cdns_master_ops and export the APIs.
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/cadence_master.h')
-rw-r--r-- | drivers/soundwire/cadence_master.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soundwire/cadence_master.h b/drivers/soundwire/cadence_master.h index beaf6c9804eb..3ec74fa5f4f9 100644 --- a/drivers/soundwire/cadence_master.h +++ b/drivers/soundwire/cadence_master.h @@ -44,5 +44,13 @@ irqreturn_t sdw_cdns_thread(int irq, void *dev_id); int sdw_cdns_init(struct sdw_cdns *cdns); int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns); +enum sdw_command_response +cdns_xfer_msg(struct sdw_bus *bus, struct sdw_msg *msg); +enum sdw_command_response +cdns_xfer_msg_defer(struct sdw_bus *bus, + struct sdw_msg *msg, struct sdw_defer *defer); + +enum sdw_command_response +cdns_reset_page_addr(struct sdw_bus *bus, unsigned int dev_num); #endif /* __SDW_CADENCE_H */ |