K 10 svn:author V 3 avg K 8 svn:date V 27 2021-12-10T12:32:36.264617Z K 7 svn:log V 573 twsi: unify error handling, explicitly handle more conditions twsi_error() is a new function that stops the current transfer and sets up softc when an error condition is detected. TWSI_STATUS_DATA_WR_NACK, TWSI_STATUS_BUS_ERROR and TWSI_STATUS_ARBITRATION_LOST are now handled explicitly rather than via the catch-all unknown status. Also, twsi_intr() now calls wakeup() in a single place when the transfer is finished. (cherry picked from commit a4fe8922085dfc1e5e6a6bac73ccc738e373165f) Git Hash: 3507728e59ab64f109e7495311f38549b007706b Git Author: avg@FreeBSD.org END