Hi Wolfram, On Wed, Sep 23, 2020 at 6:06 PM Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: > > To make sure external conditions are satisfied, and we never deadlock: > > > > if (pd->dev->power.is_suspended) > > return -EPERM; /* any other suitable error code? */ > > > > Perhaps this can even be done in the i2c core instead? > > Good question! My gut feeling says "i2c core", but that would need more > research. I'd say we tackle this in a seperate patch but also for the > next merge window. Sounds good? Fine for me, it's already late in the v5.9-rc cycle. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds