Skip to content

Conversation

@juimonen
Copy link

@juimonen juimonen commented Dec 7, 2020

Input and output channel settings from matrix row and column
are in reverse order, so they should be swapped.

Signed-off-by: Jaska Uimonen jaska.uimonen@intel.com

@juimonen juimonen requested a review from akloniex as a code owner December 7, 2020 15:35
@juimonen
Copy link
Author

juimonen commented Dec 7, 2020

@bkokoszx FYI. Don't we have the input/output setting reversed currently? With this change I get the correct output with my testing at least...

@slawblauciak slawblauciak requested a review from bkokoszx December 8, 2020 08:40
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make more sense to rename j and m as row and column ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping. if you can fix and re-push this will let CI do a full run too.

Copy link
Collaborator

@bkokoszx bkokoszx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juimonen
I have a concern, because as I understand correctly mask[j] corresponding to j channel on output, as we can see in code before your change. I suspect that if we hit some swapped channels issue, we may have problem somewhere else.

@juimonen juimonen mentioned this pull request Dec 16, 2020
@juimonen
Copy link
Author

juimonen commented Jan 7, 2021

@akloniex your thoughts on this as original mux/demux author?

@juimonen
Copy link
Author

@bkokoszx @akloniex ping any comments about the correctness of this? I still believe in this fix :)

@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood
Copy link
Member

@juimonen ping - can you check CI.

@bkokoszx
Copy link
Collaborator

bkokoszx commented Jan 28, 2021

@juimonen
Sorry, I was wrong here: #3674 (review)
I was talking with @akloniex and the primary assumption was that "j" in "mask[j]" corresponds to j input channel, so this PR looks correct. :)

@lgirdwood
Copy link
Member

@juimonen can you check CI. UT failed.

@juimonen
Copy link
Author

juimonen commented Feb 2, 2021

SOFCI TEST

Input and output channel settings from matrix row and column
are in reverse order, so they should be swapped.

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
@lgirdwood lgirdwood merged commit 71a4e98 into thesofproject:master Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants