[PATCH 02/11] staging: iio: adt7316: invert the logic of the check for an ldac pin

Dan Carpenter dan.carpenter at oracle.com
Wed Dec 12 08:19:49 UTC 2018


On Tue, Dec 11, 2018 at 05:54:54PM -0700, Jeremy Fertic wrote:
> ADT7316_DA_EN_VIA_DAC_LDCA is set when the dac and ldac registers are being
> used to update the dacs instead of the ldac pin. ADT7516_SEL_AIN3 is an adc
> input that shares the ldac pin. Only set these bits if an ldac pin is not
> being used.
> 
> Signed-off-by: Jeremy Fertic <jeremyfertic at gmail.com>

Huh...  This bug has always been there...

Fixes: 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver")

regards,
dan carpenter




More information about the devel mailing list