Age | Commit message (Collapse) | Author |
|
The "snd_pcm_hw_constraint_minmax" call may return a positive
non-error integer so that the subsequent "snd_pcm_hw_constraint_mask64"
call is never invoked, thus the formats are never enforced.
Fix the error handling so that only negative results are considered.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
This reverts commit 0cc882c2d72c ("MLK-16738: ASoC: fsl: amix: remove
support for 64k and 96k rates").
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Remove support for 64k and 96k rates due to SAI MCLK freq limitations.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
|
|
Refactor AMIX driver by removing automatic OUTSRC selection
and enforcing OUTSRC transition constraints as specified in
AMIX documentation, "Mixer output processing" chapter.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
|
|
AMIX SAIs frequency was doubled in order to
support the [98k rate X 8 channels X 32 bit width].
As consequence the criteria to enforce the rates
constrainsts needs to be changed accordingly.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
|
|
The intention of currently implemented primary SAI power-on/off
on BE startup/shutdown was to make sure the primary SAI is
powered-on when the playback is started on the secondary SAI.
However in a such scenario the primary SAI is powered-on when
the primary SAI output is recorded.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@freescale.com>
|
|
Add channels and format constraints.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
|
|
Eliminate unsupported rates for SAI MCLK frequency = 24576000.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
|
|
Add audio mixer machine driver.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
|