Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant
From: Wolfram Sang
Date: Tue Jun 26 2018 - 09:46:20 EST
> I don't think it's that easy as I just thought about another problem
> with lifting the locking from the emulation function. It calls
> kzalloc(..., GFP_KERNEL), at least in some cases, and that's not a
> very good idea from atomic/irq context...
Right. However, we could simply bail out early when we are in atomic
context. Simply no DMA then...
Attachment:
signature.asc
Description: PGP signature