projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a98879
)
misc: ad525x_dpot: Fix AD8400 spi transfer size.
author
Michael Hennerich
<
[email protected]
>
Fri, 18 Nov 2011 10:05:10 +0000
(11:05 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 18 Nov 2011 19:13:01 +0000
(11:13 -0800)
AD8400 type devices require 16-bit command transfers.
Signed-off-by: Michael Hennerich <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/misc/ad525x_dpot.h
patch
|
blob
|
history
diff --git
a/drivers/misc/ad525x_dpot.h
b/drivers/misc/ad525x_dpot.h
index a662f5987b6892591008291e3b5b05506918ed9e..82b2cb77ae197b2124ede9131dc4cbe0902ce0e8 100644
(file)
--- 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_
8
BIT,
+ AD8400_ID = DPOT_CONF(F_RDACS_WONLY | F_AD_APPDATA | F_SPI_
16
BIT,
BRDAC0, 8, 29),
AD8402_ID = DPOT_CONF(F_RDACS_WONLY | F_AD_APPDATA | F_SPI_16BIT,
BRDAC0 | BRDAC1, 8, 30),