[PATCH] ARM: clock-mx28: Fix end of loop condition

Fabio Estevam festevam at gmail.com
Mon Jan 16 15:32:45 EST 2012


On Mon, Jan 16, 2012 at 5:01 PM, Fabio Estevam
<fabio.estevam at freescale.com> wrote:
> From: Fabio Estevam <festevam at gmail.com>
>
> Selecting audio on a mx28evk the saif driver was failing:
>
> [    0.660000] saif0_clk_set_rate: divider writing timeout
> [    0.670000] mxs-sgtl5000: probe of mxs-sgtl5000.0 failed with error -110
> [    0.670000] ALSA device list:
> [    0.680000]   No soundcards found.
>
> The timeout on saif0_clk_set_rate was due to the wrong condition for the end of loop.
>
> After fixing it, the audio driver can be correctly probed and becomes functional.
>
> While at it, fix the other locations where the similar issue occurs.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

Please disregard this version.



More information about the linux-arm-kernel mailing list