Skip to content

Conversation

hasheddan
Copy link

Please describe the purpose of this pull request

Fixes use of word address as device address in i2c writes.

Signed-off-by: Daniel Mangum georgedanielmangum@gmail.com

Some callers pass a word address, but empty data buffer, when issuing
i2c writes, such as when waking a device. Typically the HAL is passed a
data buffer that includes the word address as the first byte, but when
the data buffer is empty we opt to instead use the 1 byte word address
as the data to be written.

Signed-off-by: Daniel Mangum georgedanielmangum@gmail.com

Checklist

Fixes use of word address as device address in i2c writes.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Some callers pass a word address, but empty data buffer, when issuing
i2c writes, such as when waking a device. Typically the HAL is passed a
data buffer that includes the word address as the first byte, but when
the data buffer is empty we opt to instead use the 1 byte word address
as the data to be written.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Copy link

This PR has been marked as stale and will be automatically closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 19, 2024
@github-actions github-actions bot closed this Nov 26, 2024
@Srinivas-E Srinivas-E reopened this Jul 16, 2025
@Srinivas-E
Copy link
Collaborator

Hi @hasheddan ,
Thank you for sharing the details. We recently started reviewing your request and changes. After a quick analysis, we may need further work in order make this as a generic change to any other impacted code areas. As we wish to test these changes more widely, can we discuss more on the setup and environment details?

Is it possible for you to create a support ticket to discuss further? Our technical team shall get in touch with you further on this ticket.

Please do let us know your feedback.
Thanks and regards,
Srinivas

@github-actions github-actions bot removed the Stale label Jul 16, 2025
Copy link

This PR has been marked as stale and will be automatically closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants