diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2022-12-19 19:13:44 +0100 |
|---|---|---|
| committer | Wolfram Sang <wsa@kernel.org> | 2023-02-12 22:10:30 +0100 |
| commit | c467d919f0da1c83ebee5087e166cf2bcfbb6f6d (patch) | |
| tree | eada043ea244396676524f65a3b26062b1065eff /lib/mpi/mpiutil.c | |
| parent | fce55da31d091187555a7af9c055de85f0cea6c4 (diff) | |
i2c: i801: improve interrupt handler
Not sure if it can happen, but better play safe: If SMBHSTSTS_BYTE_DONE
and an error flag is set, then don't trust the result and skip calling
i801_isr_byte_done(). In addition clear status bit SMBHSTSTS_BYTE_DONE
in the main interrupt handler, this allows to simplify the code a
little.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
