Re: [PATCH v3 2/4] i2c: core: run atomic i2c xfer when !preemptible

From: Wolfram Sang
Date: Mon Mar 27 2023 - 10:55:03 EST



> - return system_state > SYSTEM_RUNNING && irqs_disabled();
> + return system_state > SYSTEM_RUNNING && !preemptible();

For the !CONFIG_PREEMPT_COUNT case, preemptible() is defined 0. So,
don't we lose the irqs_disabled() check in that case?

Attachment: signature.asc
Description: PGP signature