Skip to content

i2c: sam0 driver does not prevent simultaneous transactions #42425

@maxmclau

Description

@maxmclau

Is your enhancement proposal related to a problem? Please describe.
There are no protections against simultaneous i2c transactions colliding on the same bus. Identical to #29239.

Describe the solution you'd like
It seems like consensus from issues like #24511 is that a global i2c lock is the way to go, but I don't know what the status of that is.

Proposed change
Implement a locking semaphore for i2c_sam0_configure and i2c_sam0_transfer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges/Updates/Additions to existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions