MX28EVK mainline 3.5-Patchs-3.5-rc5 sgtl5000 record not working

Shawn Guo shawn.guo at linaro.org
Tue Jul 10 23:14:48 EDT 2012


Copy driver maintainer Dong here.

Regards,
Shawn

On Tue, Jul 10, 2012 at 06:09:44PM +0200, Andreas Gretler wrote:
> 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
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




More information about the linux-arm-kernel mailing list