mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
![Sean Nyekjaer](/assets/img/avatar_default.png)
Add missing don't care padding between address and
data for SPI transfers
Fixes: a3e0b51884
("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>
23 lines
532 B
C
23 lines
532 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright 2021 Connected Cars A/S
|
|
*/
|
|
#ifndef _FXLS8962AF_H_
|
|
#define _FXLS8962AF_H_
|
|
|
|
struct regmap;
|
|
struct device;
|
|
|
|
enum {
|
|
fxls8962af,
|
|
fxls8964af,
|
|
};
|
|
|
|
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_i2c_regmap_conf;
|
|
extern const struct regmap_config fxls8962af_spi_regmap_conf;
|
|
|
|
#endif /* _FXLS8962AF_H_ */
|