]> git.karo-electronics.de Git - linux-beck.git/commit
drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 22 Feb 2016 09:20:24 +0000 (10:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 00:55:13 +0000 (16:55 -0800)
commitf3df53e4d70b5736368a8fe8aa1bb70c1cb1f577
treeebdaaac63dbeca441b352e9c2334fbc05242b340
parentdd16f6cdeb4e02a728863d3cf99aaab352f0d761
drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors

Fix RDAC read back errors caused by a typo. Value must shift by 2.

Fixes: a4bd394956f2 ("drivers/misc/ad525x_dpot.c: new features")
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ad525x_dpot.c