diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2019-09-16 14:23:43 -0500 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-10-21 09:51:02 +0530 |
commit | cf9249626f72878b6d205a4965093cba5cce98df (patch) | |
tree | 0f37b0f4fb5cd44541f0eff7f9b46f063d63194d /kernel/gcov/gcc_base.c | |
parent | 0f8c0f8a7782178c40157b2feb6a532493cbadd3 (diff) |
soundwire: intel: fix intel_register_dai PDI offsets and numbers
There are two issues, likely copy/paste:
1. Use cdns->pcm.num_in instead of stream_num_in for consistency with
the rest of the code. This was not detected earlier since platforms did
not have input-only PDIs.
2. use the correct offset for bi-dir PDM, based on IN and OUT
PDIs. Again this was not detected since PDM was not supported earlier.
Reported-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190916192348.467-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions