Skip to content

topology: remove sof-tgl-rt711-i2s-rt1308-nohdmi.conf - #2954

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
plbossart:fix/tgl-topology-dmic
May 20, 2020
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
plbossart:fix/tgl-topology-dmic

Conversation

@plbossart

Copy link
Copy Markdown
Member

No one seems to be using this topology or they would have seen the
error below that DMICs are required on this platform.

[ 8%] Generating sof-tgl-rt711-i2s-rt1308-nohdmi.conf

m4:tools/topology/sof/pipe-volume-capture-16khz.m4:54: bad expression
in eval (bad input): 2 * 2 * CHANNELS * 16
m4:tools/topology/sof/pipe-volume-capture-16khz.m4:57: bad expression
in eval (bad input): 2 * 2 * CHANNELS * 16

Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com

No one seems to be using this topology or they would have seen the
error below that DMICs are required on this platform.

[  8%] Generating sof-tgl-rt711-i2s-rt1308-nohdmi.conf

m4:tools/topology/sof/pipe-volume-capture-16khz.m4:54: bad expression
in eval (bad input): 2 * 2 * CHANNELS * 16
m4:tools/topology/sof/pipe-volume-capture-16khz.m4:57: bad expression
in eval (bad input): 2 * 2 * CHANNELS * 16

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@marc-hb

marc-hb commented May 20, 2020

Copy link
Copy Markdown
Collaborator

This green failure is hard to spot and has been missed for a number of typical reasons:

@marc-hb marc-hb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this CHANNELS warning was introduced less than 2 months ago by @bkokoszx in PR #2506 / commit a716056 tgl: use additional CHANNEL define in rt711 + rts1308 tplg,
The warning can be seen in 2506's https://travis-ci.org/github/thesofproject/sof/jobs/672408553

It's probably better to revert that commit. @bkokoszx ?

@xiulipan xiulipan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@plbossart I think this should be a test tplg and no useful now.
@marc-hb The issue can stay in this tplg means no one need this TPLG any more. I think it is OK to remove it as a "fix" for tplg build

@juimonen juimonen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

yeah just remove the unused ones...

@lgirdwood
lgirdwood merged commit 96623e6 into thesofproject:master May 20, 2020
marc-hb added a commit to marc-hb/sof that referenced this pull request May 20, 2020
As seen in PR thesofproject#2954, no one ever notices m4 warnings. As PR thesofproject#2954 will
remove sof-tgl-rt711-i2s-rt1308-nohdmi.conf and the only m4 warning
currently, this is a great opportunity to upgrade m4 warnings to
errors.

Note neither Travis nor github have the concept of a "warning", they can
only report success or failure.

This fix can be considered part of the "green failures" family.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
lgirdwood pushed a commit that referenced this pull request May 20, 2020
As seen in PR #2954, no one ever notices m4 warnings. As PR #2954 will
remove sof-tgl-rt711-i2s-rt1308-nohdmi.conf and the only m4 warning
currently, this is a great opportunity to upgrade m4 warnings to
errors.

Note neither Travis nor github have the concept of a "warning", they can
only report success or failure.

This fix can be considered part of the "green failures" family.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
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.

5 participants