summaryrefslogtreecommitdiffstats
path: root/include/linux/soundwire
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-09-16 14:23:44 -0500
committerVinod Koul <vkoul@kernel.org>2019-10-21 09:50:53 +0530
commit535bbe6a1f94dfc3e23cf1c9687459de7f3d2271 (patch)
treeb1011d00b3008138b70c501f8ea0c1ff6cb18c67 /include/linux/soundwire
parent2948d192169356b9361331a62e09bae5219a37f4 (diff)
downloadlinux-535bbe6a1f94dfc3e23cf1c9687459de7f3d2271.tar.gz
linux-535bbe6a1f94dfc3e23cf1c9687459de7f3d2271.tar.bz2
linux-535bbe6a1f94dfc3e23cf1c9687459de7f3d2271.zip
soundwire: remove DAI_ID_RANGE definitions
There is no reason to reserve a range of DAI IDs for SoundWire. This is not scalable and it's better to let the ASoC core allocate the dai->id when registering a component. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190916192348.467-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r--include/linux/soundwire/sdw.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h
index ea787201c3ac..688b40e65c89 100644
--- a/include/linux/soundwire/sdw.h
+++ b/include/linux/soundwire/sdw.h
@@ -40,9 +40,6 @@ struct sdw_slave;
#define SDW_VALID_PORT_RANGE(n) ((n) <= 14 && (n) >= 1)
-#define SDW_DAI_ID_RANGE_START 100
-#define SDW_DAI_ID_RANGE_END 200
-
enum {
SDW_PORT_DIRN_SINK = 0,
SDW_PORT_DIRN_SOURCE,