Skip to content
Commit fd66bd74 authored by Quan Nguyen's avatar Quan Nguyen Committed by Wolfram Sang
Browse files

i2c: aspeed: Assert NAK when slave is busy



On I2C_SLAVE_WRITE_REQUESTED event, Slave already ACK'ed on the address
phase. But as the backend driver is busy and unable to process any
request from Master, issue RxCmdLast for Slave to auto send NACK on
next incoming byte.

Signed-off-by: default avatarQuan Nguyen <quan@os.amperecomputing.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 301c8f5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment