noise issues when recording sound on i.MX28
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Jan 27 06:43:40 PST 2016
Hello Fabio,
[dropping Jack Lee from Cc: as his address doesn't exist.]
On Wed, Jan 27, 2016 at 09:53:18AM -0200, Fabio Estevam wrote:
> On Wed, Jan 27, 2016 at 8:56 AM, Uwe Kleine-König
> <u.kleine-koenig at pengutronix.de> wrote:
> > I currently work with an i.MX28 based machine and occasionally when
> > recording sound with arecord but no microphone connected the result
> > contains much noise.
> >
> > I found commits
> >
> > 90ce77d4468e ENGR00285446-3 [MX28] SAIF: Bit Shift in SAIF RX Data
> > 1ea685a12f19 ENGR00285446-2 [MX28] SAIF: Bit Shift in SAIF RX Data
> > 1ca899221d8b ENGR00285446-1 [MX28] SAIF: Bit Shift in SAIF RX Data
> >
> > in the Freescale vendor kernel (branch imx_2.6.35_maintain at
> > git://git.freescale.com/imx/linux-2.6-imx.git). The kernel running on
> > the machine in question is based on 3.10 with an impressive (that's
> > negative) patch stack on top. I think patches -2 and -3 are not relevant
> > for my setup because the two saif clocks are configured identically if
> > I'm not mistaken. However implementing the soft reset as is done in
>
> Please make sure that the two saif clocks are configured identically.
I think I have that. According to $debugfs/clk the two saif clocks have
the same parent and frequency.
> This was the most important part of the fix when we worked on this
> problem on 2.6.35.
So you didn't hit the problem that resetting a saif didn't work, right?
Do you have a few more technical details here? A usecase of my machine
is recording and playback at the same time (an intercom system). So if
it's necessary to reset the sending side to start receiving that's
unfortunate.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list