]> git.baikalelectronics.ru Git - kernel.git/commit
ad525x_dpot: use correct rdac channel for ad5251/ad5252
authorsteven miao <realmz6@gmail.com>
Tue, 26 Oct 2010 21:22:37 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:14 +0000 (16:52 -0700)
commit94ca9439463a5647516bd2fff634f14150fc5c78
tree82d62017c50365d5cb0f9773540df0cbeadc6f40
parent6e4a0d6c013e53213aba68491824f8388a3e24fa
ad525x_dpot: use correct rdac channel for ad5251/ad5252

The ad5251/ad5252 devices have rdac1 and rdac3, but no rdac0.  So make
sure we use the right channels so userspace gets correct data and not just
garbage.

Signed-off-by: steven miao <realmz6@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Chris Verges <chrisv@cyberswitching.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/ad525x_dpot.h