OSDN Git Service

soundwire: intel: fix PDI/stream mapping for Bulk
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 22 Oct 2019 23:29:48 +0000 (18:29 -0500)
committerVinod Koul <vkoul@kernel.org>
Sat, 9 Nov 2019 11:14:44 +0000 (16:44 +0530)
commitc134f914e9f55b7817e2bae625ec0e5f1379f7cd
treebab20012c288d4c02b11d9494c0a5490ff4e3061
parent3ccb8551f52edfcf16291cde07a8d49fc3976b7a
soundwire: intel: fix PDI/stream mapping for Bulk

The previous formula is incorrect for PDI0/1, the mapping is not
linear but has a discontinuity between PDI1 and PDI2.

This change has no effect on PCM PDIs (same mapping).

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