Re: [PATCH v3] Input: wm97xx-core - add retries to wm97xx_read_aux_adc

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

 



On Fri, Sep 03, 2010 at 09:13:34AM -0400, Eric Millbrandt wrote:
> Add logic to wm97xx_read_aux_adc() to retry reading the adc if the
> sample failed.  This could occur if the previous sample was still in
> the return register or the sample timed-out.  Also avoid a pathologic
> failure mode by disabling the digitizer and returning -EBUSY after 5
> retries.
> 
> Signed-off-by: Eric Millbrandt <emillbrandt@xxxxxxxxxxxxxxxx>

Good stuff - thanks!

Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux