aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/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 /drivers/soundwire
parentsoundwire: intel: remove X86 dependency (diff)
downloadlinux-dev-535bbe6a1f94dfc3e23cf1c9687459de7f3d2271.tar.xz
linux-dev-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 'drivers/soundwire')
-rw-r--r--drivers/soundwire/intel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
index bcc5077b2814..9d578dafa292 100644
--- a/drivers/soundwire/intel.c
+++ b/drivers/soundwire/intel.c
@@ -873,8 +873,6 @@ static int intel_create_dai(struct sdw_cdns *cdns,
dais[i].capture.formats = SNDRV_PCM_FMTBIT_S16_LE;
}
- dais[i].id = SDW_DAI_ID_RANGE_START + i;
-
if (pcm)
dais[i].ops = &intel_pcm_dai_ops;
else