[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321610711-12507-1-git-send-email-michael.hennerich@analog.com>
Date: Fri, 18 Nov 2011 11:05:10 +0100
From: <michael.hennerich@...log.com>
To: <greg@...ah.com>, <arnd@...db.de>
CC: <device-drivers-devel@...ckfin.uclinux.org>, <drivers@...log.com>,
<linux-kernel@...r.kernel.org>,
Michael Hennerich <michael.hennerich@...log.com>
Subject: [PATCH 1/2] misc: ad525x_dpot: Fix AD8400 spi transfer size.
From: Michael Hennerich <michael.hennerich@...log.com>
AD8400 type devices require 16-bit command transfers.
Signed-off-by: Michael Hennerich <michael.hennerich@...log.com>
---
drivers/misc/ad525x_dpot.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/misc/ad525x_dpot.h b/drivers/misc/ad525x_dpot.h
index a662f59..82b2cb7 100644
--- a/drivers/misc/ad525x_dpot.h
+++ b/drivers/misc/ad525x_dpot.h
@@ -100,7 +100,7 @@ enum dpot_devid {
AD5293_ID = DPOT_CONF(F_RDACS_RW | F_SPI_16BIT, BRDAC0, 10, 27),
AD7376_ID = DPOT_CONF(F_RDACS_WONLY | F_AD_APPDATA | F_SPI_8BIT,
BRDAC0, 7, 28),
- AD8400_ID = DPOT_CONF(F_RDACS_WONLY | F_AD_APPDATA | F_SPI_8BIT,
+ AD8400_ID = DPOT_CONF(F_RDACS_WONLY | F_AD_APPDATA | F_SPI_16BIT,
BRDAC0, 8, 29),
AD8402_ID = DPOT_CONF(F_RDACS_WONLY | F_AD_APPDATA | F_SPI_16BIT,
BRDAC0 | BRDAC1, 8, 30),
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists