diff options
author | Sean Nyekjaer <sean@geanix.com> | 2021-12-20 13:51:43 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-23 18:23:48 +0000 |
commit | ccbed9d8d2a5351d8238f2d3f0741c9a3176f752 (patch) | |
tree | 5ee53c22ca6d942e6345e0178653352bf9d10c4a /drivers/iio/accel/fxls8962af.h | |
parent | iio:imu:adis16480: fix buffering for devices with no burst mode (diff) | |
download | linux-ccbed9d8d2a5351d8238f2d3f0741c9a3176f752.tar.gz linux-ccbed9d8d2a5351d8238f2d3f0741c9a3176f752.tar.bz2 linux-ccbed9d8d2a5351d8238f2d3f0741c9a3176f752.zip |
iio: accel: fxls8962af: add padding to regmap for SPI
Add missing don't care padding between address and
data for SPI transfers
Fixes: a3e0b51884ee ("iio: accel: add support for FXLS8962AF/FXLS8964AF accelerometers")
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20211220125144.3630539-1-sean@geanix.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/fxls8962af.h')
-rw-r--r-- | drivers/iio/accel/fxls8962af.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/accel/fxls8962af.h b/drivers/iio/accel/fxls8962af.h index b67572c3ef06..9cbe98c3ba9a 100644 --- a/drivers/iio/accel/fxls8962af.h +++ b/drivers/iio/accel/fxls8962af.h @@ -17,6 +17,7 @@ int fxls8962af_core_probe(struct device *dev, struct regmap *regmap, int irq); int fxls8962af_core_remove(struct device *dev); extern const struct dev_pm_ops fxls8962af_pm_ops; -extern const struct regmap_config fxls8962af_regmap_conf; +extern const struct regmap_config fxls8962af_i2c_regmap_conf; +extern const struct regmap_config fxls8962af_spi_regmap_conf; #endif /* _FXLS8962AF_H_ */ |