mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@suse.de>
To: linux-kernel@vger.kernel.org
Cc: Michael Hennerich <michael.hennerich@analog.com>,
	Greg Kroah-Hartman <gregkh@suse.de>
Subject: [PATCH 7/7] misc: ad525x_dpot: Fix AD8400 spi transfer size.
Date: Mon, 21 Nov 2011 17:10:34 -0800	[thread overview]
Message-ID: <1321924234-26258-7-git-send-email-gregkh@suse.de> (raw)
In-Reply-To: <1321924234-26258-1-git-send-email-gregkh@suse.de>

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

AD8400 type devices require 16-bit command transfers.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 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.7.3


      parent reply	other threads:[~2011-11-22  1:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22  0:58 [GIT PATCH] char and misc fixes for 3.2 Greg KH
2011-11-22  1:10 ` [PATCH 1/7] MAINTAINERS: add CHAR and MISC driver maintainers Greg Kroah-Hartman
2011-11-22  1:10   ` [PATCH 2/7] pcie-gadget-spear: Add "platform:" prefix for platform modalias Greg Kroah-Hartman
2011-11-22  1:10   ` [PATCH 3/7] pch_phub: Support new device LAPIS Semiconductor ML7831 IOH Greg Kroah-Hartman
2011-11-22  1:10   ` [PATCH 4/7] pch_phub: Change company name OKI SEMICONDUCTOR to LAPIS Semiconductor Greg Kroah-Hartman
2011-11-22  1:10   ` [PATCH 5/7] pch_phub: Improve ADE(Address Decode Enable) control Greg Kroah-Hartman
2011-11-22  1:10   ` [PATCH 6/7] pch_phub: Fix MAC address writing issue for LAPIS ML7831 Greg Kroah-Hartman
2011-11-22  1:10   ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1321924234-26258-7-git-send-email-gregkh@suse.de \
    --to=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.hennerich@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®