[alsa-devel] [Pull request] Support for wm9705 codec and two machines that use it.

Mark Brown broonie at sirena.org.uk
Thu Jan 15 23:22:33 CET 2009


On Thu, Jan 15, 2009 at 10:16:10PM +0000, Ian Molton wrote:
> Mark Brown wrote:

> >>+	soc_ac97_ops.reset(codec->ac97);

> >This should check the return value, resets can and do fail.

> This call returns void. So no.

Oh, sorry - thinko.  You should read back the ID register and verify the
value.

> I cant see a way to determine the outcome of a reset on wm9705. I could 
> program a register, then check to see it is set to its reset value, but 
> if the codec is hung, this could cause lockups.

It shouldn't, the AC97 bus driver should time out.  The goal is to make
sure that the codec is live and the expected device.


More information about the Alsa-devel mailing list