]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerKamal Mostafa <kamal@canonical.com>
Mon, 16 May 2016 17:26:55 +0000 (10:26 -0700)
commita6b005d5035623ab52d6b4931ee315093d557f3e
treee304920bbf819c6e2cee8e34240958d57160ca09
parent77adfd99fd6c487dc1ee477bb4143634110a34a8
drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors

BugLink: http://bugs.launchpad.net/bugs/1578798
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: Kamal Mostafa <kamal@canonical.com>
drivers/misc/ad525x_dpot.c