RE: [PATCH] ad525x_dpot: add i2c support for AD5161

From: Hennerich, Michael
Date: Tue Oct 18 2011 - 02:17:34 EST


Peter Korsgaard wrote on 2011-10-17:
> Commit 6c536e4ce8e (ad525x_dpot: add support for SPI parts) added
> support for the AD5161 through SPI, but the device supports both I2C and
> SPI (depending on the DIS pin), so add it to -i2c as well.
>
> Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx>

Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>

> ---
> drivers/misc/ad525x_dpot-i2c.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-
> i2c.c index 4ff73c2..a39e055 100644 --- a/drivers/misc/ad525x_dpot-i2c.c
> +++ b/drivers/misc/ad525x_dpot-i2c.c @@ -98,6 +98,7 @@ static const
> struct i2c_device_id ad_dpot_id[] = {
{"ad5282", AD5282_ID}, {"adn2860", ADN2860_ID}, {"ad5273", AD5273_ID},
+ {"ad5161", AD5161_ID}, {"ad5171", AD5171_ID}, {"ad5170", AD5170_ID},
{"ad5172", AD5172_ID},

Greetings,
Michael

--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/