Skip to content

fix(ast10x0-i2c): handle buffer-mode rx and smbus probe#335

Draft
pojuiatwork3881154 wants to merge 1 commit into
mainfrom
fix/ast10x0-i2c
Draft

fix(ast10x0-i2c): handle buffer-mode rx and smbus probe#335
pojuiatwork3881154 wants to merge 1 commit into
mainfrom
fix/ast10x0-i2c

Conversation

@pojuiatwork3881154

Copy link
Copy Markdown
Collaborator

Fix AST1060 I2C slave-mode status handling that could hang the bus.

  • Handle buffer-mode RX_DONE (no WAIT_RX_DMA): report DataReceived.
  • Handle bare SLAVE_MATCH (SMBus quick probe): re-arm and clear status so the slave does not clock-stretch until SMBus timeout.

Fix AST1060 I2C slave-mode status handling that could hang the bus.

- Handle buffer-mode RX_DONE (no WAIT_RX_DMA): report DataReceived.
- Handle bare SLAVE_MATCH (SMBus quick probe): re-arm and clear
  status so the slave does not clock-stretch until SMBus timeout.

Signed-off-by: PojuiLiu <pojui_liu@jabil.com>
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant