Uh oh!
There was an error while loading. Please reload this page.
ASoC: Intel: Boards: tgl_max98373: add dai_trigger function - #2123
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fbccb2b to
43bdcd2CompareUh oh!
There was an error while loading. Please reload this page.
plbossart
left a comment
There was a problem hiding this comment.
good start but this needs more work.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| case SNDRV_PCM_TRIGGER_STOP: | ||
| case SNDRV_PCM_TRIGGER_SUSPEND: | ||
| case SNDRV_PCM_TRIGGER_PAUSE_PUSH: | ||
| val = snd_soc_dai_active(codec_dai); |
There was a problem hiding this comment.
you dont seem to use val at all?
Uh oh!
There was an error while loading. Please reload this page.
73f1579 to
c2759d5CompareUh oh!
There was an error while loading. Please reload this page.
ranj063
left a comment
There was a problem hiding this comment.
Looks good, thanks @RDharageswari
plbossart
left a comment
There was a problem hiding this comment.
If we ever want to work with a single amplifier the code will need to be updated, see below. It's not hypothetical, see ASoC: Intel: sof_da7219_max98373: Add support for max98360a speaker amp
Uh oh!
There was an error while loading. Please reload this page.
Speaker amplifier feedback is not modeled as being dependent on any active output. Even when there is no playback happening, parts of the graph, specifically the IV sense->speaker protection->output remains active and this prevents the DSP from entering low-power states. This patch suggests a machine driver level approach where the speaker pins are enabled/disabled dynamically depending on stream start/stop events. DPAM graph representations show the feedback loop is indeed disabled and low-power states can be reached. Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
…onents MAX_98373_DEV0_NAME is the Right speaker and MAX_98373_DEV1_NAME is the Left speaker, hence updating the comments for max98373 dailink components accordingly. Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Speaker amplifier feedback is not modeled as being dependent on any
active output. Even when there is no playback happening, parts of the graph,
specifically the IV sense->speaker protection->output remains active and
this prevents the DSP from entering low-power states.
This patch suggest a machine driver level approach where the speaker
pins are enabled/disabled dynamically depending on stream start/stop
events. DPAM graph representations show the feedback loop is indeed
disabled and low-power states can be reached.