aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/intel.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-06-01 02:20:57 +0800
committerVinod Koul <vkoul@kernel.org>2020-06-22 17:21:36 +0530
commitb6109dd6dc9fbc5dfae1106972d728eba0afd098 (patch)
tree96efbab2a717152713b389ee84a1596b1e65d81c /drivers/soundwire/intel.h
parentsoundwire: bus: clock_stop: don't deal with UNATTACHED Slave devices (diff)
downloadlinux-dev-b6109dd6dc9fbc5dfae1106972d728eba0afd098.tar.xz
linux-dev-b6109dd6dc9fbc5dfae1106972d728eba0afd098.zip
soundwire: intel: cleanups for indirections/logs
The code can be simplified a bit to have a more consistent use of 'dev' and 'bus', as well as move definitions around. This will help make the major changes in follow-up patches easier to review. 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/20200531182102.27840-2-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.h')
-rw-r--r--drivers/soundwire/intel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soundwire/intel.h b/drivers/soundwire/intel.h
index 38b7c125fb10..4bd045ae91be 100644
--- a/drivers/soundwire/intel.h
+++ b/drivers/soundwire/intel.h
@@ -27,4 +27,15 @@ struct sdw_intel_link_res {
struct device *dev;
};
+struct sdw_intel {
+ struct sdw_cdns cdns;
+ int instance;
+ struct sdw_intel_link_res *link_res;
+#ifdef CONFIG_DEBUG_FS
+ struct dentry *debugfs;
+#endif
+};
+
+#define SDW_INTEL_QUIRK_MASK_BUS_DISABLE BIT(1)
+
#endif /* __SDW_INTEL_LOCAL_H */