]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:meter:ade7758: Fix timing on SPI read accessor functions.
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 18 May 2011 13:42:04 +0000 (14:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:14:58 +0000 (16:14 -0700)
commitf535e08eb60edbfb9f8ff660c9512b498ba0e1de
tree51ba5e1e893f53c6e0dd0a05e22d1fc20d7cefba
parent69c272cc8edf3e5432859a9c1bcb51a64b2accb5
staging:iio:meter:ade7758: Fix timing on SPI read accessor functions.

According to the ADE7758 datasheet the minimum time between read command
(that is, a write to communication register) and data read must not be
less than 4us.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/meter/ade7758_core.c