]> asedeno.scripts.mit.edu Git - linux.git/commit
soundwire: intel: don't filter out PDI0/1
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 16 Sep 2019 19:23:47 +0000 (14:23 -0500)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Oct 2019 04:20:53 +0000 (09:50 +0530)
commit807c15bc77871c695e254423f5e3839b2175db03
treed8c4ec87c7b2e60578382a7dfbf2af54a01f3c96
parent57a34790cd2cab02c3336fe96cfa33b9b65ed2ee
soundwire: intel: don't filter out PDI0/1

PDI0/1 are reserved for Bulk and filtered out in the existing code.
That leads to endless confusions on whether the index is the raw or
corrected one. In addition we will need support for Bulk at some point
so it's just simpler to expose those PDIs and not use it for now than
try to be smart unless we have to remove the smarts.

This patch requires a topology change to use PDIs starting at offset 2
explicitly.

Note that there is a known discrepancy between hardware documentation
and what ALH stream works in practice, future fixes are likely.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190916192348.467-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c