mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] misc: ad525x_dpot: Fix AD8400 spi transfer size.
@ 2011-11-18 10:05 michael.hennerich
  2011-11-18 10:05 ` [PATCH 2/2] misc: ad525x_dpot: Add support for SPI module device table matching michael.hennerich
  0 siblings, 1 reply; 4+ messages in thread
From: michael.hennerich @ 2011-11-18 10:05 UTC (permalink / raw)
  To: greg, arnd; +Cc: device-drivers-devel, drivers, linux-kernel, Michael Hennerich

From: Michael Hennerich <michael.hennerich@analog.com>

AD8400 type devices require 16-bit command transfers.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-22 17:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-18 10:05 [PATCH 1/2] misc: ad525x_dpot: Fix AD8400 spi transfer size michael.hennerich
2011-11-18 10:05 ` [PATCH 2/2] misc: ad525x_dpot: Add support for SPI module device table matching michael.hennerich
2011-11-22 16:11   ` Arnd Bergmann
2011-11-22 17:03     ` Hennerich, Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®