Commit 2cffa44
committed
[nrf fromlist] drivers: spi: spi_nrfx_spis: add conditional PM ISR safety
Requesting/releasing SPIM device may be ISR safe, but
it cannot be reliably known whether managing its power
domain is. Is is then assumed that if power domains are used,
device is no longer ISR safe. This macro let's us check if
we will be requesting/releasing power domains and determines
PM device ISR safety value.
Upstream PR #: 96402
Signed-off-by: Michał Stasiak <[email protected]>1 parent e7637d5 commit 2cffa44
1 file changed
+27
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
554 | 580 | | |
555 | 581 | | |
556 | 582 | | |
| |||
597 | 623 | | |
598 | 624 | | |
599 | 625 | | |
600 | | - | |
601 | | - | |
| 626 | + | |
602 | 627 | | |
603 | 628 | | |
604 | 629 | | |
| |||
0 commit comments