linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* MX28EVK mainline 3.5-Patchs-3.5-rc5 sgtl5000 record not working
@ 2012-07-10 16:09 Andreas Gretler
  2012-07-11  3:14 ` Shawn Guo
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Gretler @ 2012-07-10 16:09 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

i've tested mainline 3.5-Patchs-3.5-rc5 for MX28EVK and it boot up and
work fine.

But I'm not able to record something. Playback works. I also test it
against the old 2.6.35.3 Kernel and there record works.

arecord -l show me this:

**** List of CAPTURE Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: HiFi Capture sgtl5000-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0


I try record with arecord -d 2 -D hw:0,1 -f dat test.wav , but it
crash the Linux. No ErrMsg printed and the board stop working.
I have no idea what goes wrong. I put some printk message in
mxs-saif.c and the last message i can see before the board crash is in
mxs_saif_trigger() is before clk_enable is called.

		/*
		 * If the saif's master is not himself, we also need to enable
		 * itself clk for its internal basic logic to work.
		 */
		if (saif != master_saif) {
			clk_enable(saif->clk);
			__raw_writel(BM_SAIF_CTRL_RUN,
				saif->base + SAIF_CTRL + MXS_SET_ADDR);
		}

 In alsamixer i can not toggle the capture source from Mic-In to
Line-in and also can't change the Headphone from DAC to Line-IN.

I'm not sure this is the right place to ask? I will also post ist to
alsa-devel at alsa-project.org.
Can anyone confirm the Problem? Or do/understand I something wrong
with record and there is no Problem?

Andreas Gretler

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-23  9:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-10 16:09 MX28EVK mainline 3.5-Patchs-3.5-rc5 sgtl5000 record not working Andreas Gretler
2012-07-11  3:14 ` Shawn Guo
2012-07-11  8:52   ` Dong Aisheng
2012-07-16 11:23     ` Andreas Gretler
2012-07-17 11:55       ` Dong Aisheng
2012-07-23  9:29       ` Dong Aisheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).