On Fri, May 08, 2020 at 10:12:48PM +0900, Atsushi Nemoto wrote: > Use a mutex to protect access to idev->msg_len, idev->buf, etc. which > are modified by both altr_i2c_xfer_msg() and altr_i2c_isr(). > > Signed-off-by: Atsushi Nemoto <atsushi.nemoto@xxxxxxxxxx> > Acked-by: Thor Thayer <thor.thayer@xxxxxxxxxxxxxxx> Applied to for-current, thanks! I added the following snipplet to the commit message: This is the minimal fix for easy backporting. A cleanup to remove the spinlock will be added later. I will give Thor some more days to review patch 2/2. It looks good to me, though.
Attachment:
signature.asc
Description: PGP signature