soundwire: intel_bus_common: enable interrupts last
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 18 May 2023 02:41:17 +0000 (10:41 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 29 May 2023 05:19:47 +0000 (10:49 +0530)
commit46b56a5cd2ff496c0707ae3deae849f12b86e534
tree5bcaa546306a4bfe050aee99742fd550f603bec2
parentccc6cf1573b92f15cca79b674d555bef0fdf3059
soundwire: intel_bus_common: enable interrupts last

It's not clear why we enabled interrupts in the Cadence IP first. The
logical programming sequence should be to first start the bus, and
only second to enable the interrupts.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230518024119.164160-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_bus_common.c