Commit e0fafee
committed
iio: ad9361: Make sure the part is in the desired ENSM state
ad9361_ensm_force_state() should verify if the part is really in the
desired ENSM state before exit. Otherwise, other operations that are
executed afterwards may fail.
Signed-off-by: Dragos Bogdan <[email protected]>1 parent 0fa1a63 commit e0fafee
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1582 | 1582 | | |
1583 | 1583 | | |
1584 | 1584 | | |
1585 | | - | |
| 1585 | + | |
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
| |||
1635 | 1635 | | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | | - | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
1639 | 1648 | | |
1640 | 1649 | | |
1641 | 1650 | | |
| |||
0 commit comments