Re: [PATCHv4 7/7] ASoC: TWL6030: Detect power-up sequence completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 26, 2010 at 03:04:22PM -0600, Olaya, Margarita wrote:

> In both cases if READYINIT is not set before the timeout runs out it means
> the codec is not powering on and the driver reports an error.

That's kind of my point - because you're checking for the same status
there shouldn't be any need to special case the situation where there's
no interrupt, I'd expect to be able to use wait_for_timeout_interruptible()
for the delay and have the timeout completion interrupt cause that to be
signalled.  No *terribly* important but it makes it clearer what's going
on.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux