IIO: GYRO: ADXRS450: Don't exit probe, in case the power on default is not met.
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 29 Apr 2011 12:17:04 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 18:40:03 +0000 (11:40 -0700)
commit1810b3bb7bfeaad1fa782235ff0d06c30d6cbf06
treedd0271982f40e8a62b6f45043db7ffeceb9689d0
parent7dd04eb04e0cf6593ff8ee30e9a4a403c1256834
IIO: GYRO: ADXRS450: Don't exit probe, in case the power on default is not met.

If the part get's probed twice without hard reset in between, the power on default
register read-back can't be met. This shouldn't cause the second probe to fail.
So warn but don't exit.

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/gyro/adxrs450_core.c