[PATCH] ARM: mach-imx6q: Enable the codec clock earlier

Fabio Estevam festevam at gmail.com
Fri Jun 7 19:49:03 EDT 2013


Hi Troy,

On Fri, Jun 7, 2013 at 8:43 PM, Troy Kisky
<troy.kisky at boundarydevices.com> wrote:

> Perhaps a delay is needed after the clock is turned on, to when you can read
> a register.

The problem is that in linux-next the reading of the codec happens
before the clock is turned on and I was not able to understand yet why
this is happening .

On Linus' tree the codec reading only happens after the codec clock is on.

> Using -EPROBE_DEFER seems like an abuse. Shouldn't it turn the clock back
> off before it returns anyway?

That was done just for testing purpose.

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list