OSDN Git Service

iio: imu: adis: create an unlocked version of adis_reset()
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 22 Nov 2019 13:24:15 +0000 (15:24 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 23 Nov 2019 12:05:17 +0000 (12:05 +0000)
commit762ab093cbe26451175a5a63ea06c971bf973525
tree4bc40c00e4f50aaf98af3249b07b8bb7e8a3ecef
parent6a4d6a7d6588d8c15501542da786ebff6602475c
iio: imu: adis: create an unlocked version of adis_reset()

The reset routine may also be important to be protected by the state-lock
and grouped with other operations, so create an unlocked version, so that
this can be done.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c
include/linux/iio/imu/adis.h