Messages in this thread | | | Date | Mon, 27 Mar 2023 16:54:43 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH v3 2/4] i2c: core: run atomic i2c xfer when !preemptible |
| |
> - 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?
[unhandled content-type:application/pgp-signature]
| |