OSDN Git Service

soundwire: remove DAI_ID_RANGE definitions
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 16 Sep 2019 19:23:44 +0000 (14:23 -0500)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Oct 2019 04:20:53 +0000 (09:50 +0530)
commit535bbe6a1f94dfc3e23cf1c9687459de7f3d2271
treeb1011d00b3008138b70c501f8ea0c1ff6cb18c67
parent2948d192169356b9361331a62e09bae5219a37f4
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>
drivers/soundwire/intel.c
include/linux/soundwire/sdw.h