diff options
author | Guenter Roeck | 2018-09-25 15:02:31 +0200 |
---|---|---|
committer | Peter Maydell | 2018-09-25 15:14:07 +0200 |
commit | 7bd9c60d4e0d113a8a4428bcbddc5aa9d41d1edc (patch) | |
tree | 1a44d61fc5f12d7579a0ece7147b7606ca9170a4 /hw/i2c/versatile_i2c.c | |
parent | aspeed/i2c: interrupts should be cleared by software only (diff) | |
download | qemu-7bd9c60d4e0d113a8a4428bcbddc5aa9d41d1edc.tar.gz qemu-7bd9c60d4e0d113a8a4428bcbddc5aa9d41d1edc.tar.xz qemu-7bd9c60d4e0d113a8a4428bcbddc5aa9d41d1edc.zip |
aspeed/i2c: Handle receive command in separate function
Receive command handling may have to be deferred if a previous receive
done interrupt was not yet acknowledged. Move receive command handling
into a separate function to prepare for the necessary changes.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180914063506.20815-3-clg@kaod.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/versatile_i2c.c')
0 files changed, 0 insertions, 0 deletions