iio: imu: inv_mpu6050: clean read channel data error path
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Mon, 23 Apr 2018 10:33:33 +0000 (12:33 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Apr 2018 15:55:48 +0000 (16:55 +0100)
commit880b2d6cfdcacbade64fabf064856a7e7ac569fd
treebe58401f8f15e8b43c6e82cb6d8156fc17c8e1db
parent6792b4552b0a0b4abcc5410504a7a5716ab0e0fa
iio: imu: inv_mpu6050: clean read channel data error path

Delete the useless ored result and give a second chance to turn
the chip back off at the end.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c