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)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Jun 2016 08:42:52 +0000 (10:42 +0200)
commit310c45d174f51fd2087aeff2676e01bdbc0e4d34
tree50d3ff46effa994772b3df0290deeff02a235222
parente35d98315485e10cf3865e0495ec7d1e0d3a3379
drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors

commit f3df53e4d70b5736368a8fe8aa1bb70c1cb1f577 upstream.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/misc/ad525x_dpot.c