-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sensor: lsm6ds: Do not enable Streaming for buses with no RTIO support
Ensure the corresponding bus enables RTIO (I2C, I3C or SPI) before instantiating rtio-dependent elements. Otherwise, enabling it for another bus (e.g: SPI_RTIO when the LSM6DS is also on I3C with no I3C_RTIO) will cause a build-time failure. Signed-off-by: Luis Ubieda <[email protected]>
- Loading branch information
1 parent
6230b34
commit cc7a151
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters