[alsa-devel] [RFC] ASoC: Add machine driver for i.MX SGTL500 based boards
Fabio Estevam
festevam at gmail.com
Tue Jul 5 23:56:45 CEST 2011
Hi Mark,
On Mon, Jul 4, 2011 at 4:23 PM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Mon, Jul 04, 2011 at 03:41:55PM -0300, Fabio Estevam wrote:
>
>> sgtl5000 1-000a: sgtl5000 revision 17
>> sgtl5000 1-000a: asoc: failed to probe CODEC sgtl5000.1-000a: -22
>> asoc: failed to instantiate card sgtl5000: -22
>
> Have you looked to see where the error is coming from?
Yes, now I see that the error comes from the sgtl5000 driver and it
is related to the regulator. Will submit a patch for this later after
I get audio to work.
Now the codec is registered properly:
asoc: sgtl5000 <-> imx-ssi.0 mapping ok
,but aplay is failing:
root at freescale /home$ aplay tone.wav
Playing WAVE 'tone.wav' : Signed 16 bit Little Endian, Rate 44
100 Hz, Stereo
asoc: platform imx-pcm-audio.0 hw params failed
aplay: set_params:959: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (92879 92880)
PERIOD_SIZE: 4096
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (371519 371520)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 0
I am starting to debug this now, but if you have any suggestions,
please let me know.
Thanks,
Fabio Estevam
More information about the Alsa-devel
mailing list