On Mon, Jan 20, 2020 at 10:36:50AM +0100, Marco Felsch wrote: > From: Stefan Lengfeld <contact@xxxxxxxxxxxxxxx> > > Rework the read and write code paths in the driver to support operation > in atomic contexts. To achieve this, the driver must not rely on IRQs > and not call schedule(), e.g. via a sleep routine, in these cases. > > With this patch the driver supports normal operation, DMA transfers and > now the polling mode or also called sleep-free or IRQ-less operation. It > makes the code not simpler or easier to read, but atomic I2C transfers > are needed on some hardware configurations, e.g. to trigger reboots on > an external PMIC chip. > > Signed-off-by: Stefan Lengfeld <contact@xxxxxxxxxxxxxxx> > [m.felsch@xxxxxxxxxxxxxx: integrate https://patchwork.ozlabs.org/patch/1085943/ review feedback] > [m.felsch@xxxxxxxxxxxxxx: adapt commit message] > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > Acked-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature