Commit b929117
committed
iio: adc: at91-sama5d2_adc: add locking parameter to at91_adc_read_info_raw()
Add a parameter to at91_adc_read_info_raw() to specify if st->lock mutex
need to be acquired. This prepares for the addition of temperature sensor
code which will re-use at91_adc_read_info_raw() function to read 2 voltages
for determining the real temperature.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent b2fcb71 commit b929117
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1583 | 1583 | | |
1584 | 1584 | | |
1585 | 1585 | | |
1586 | | - | |
| 1586 | + | |
| 1587 | + | |
1587 | 1588 | | |
1588 | 1589 | | |
1589 | 1590 | | |
| |||
1603 | 1604 | | |
1604 | 1605 | | |
1605 | 1606 | | |
1606 | | - | |
| 1607 | + | |
| 1608 | + | |
1607 | 1609 | | |
1608 | 1610 | | |
1609 | 1611 | | |
1610 | 1612 | | |
1611 | 1613 | | |
1612 | | - | |
| 1614 | + | |
| 1615 | + | |
1613 | 1616 | | |
1614 | 1617 | | |
1615 | 1618 | | |
| |||
1645 | 1648 | | |
1646 | 1649 | | |
1647 | 1650 | | |
1648 | | - | |
| 1651 | + | |
| 1652 | + | |
1649 | 1653 | | |
1650 | 1654 | | |
1651 | 1655 | | |
| |||
1659 | 1663 | | |
1660 | 1664 | | |
1661 | 1665 | | |
1662 | | - | |
| 1666 | + | |
| 1667 | + | |
1663 | 1668 | | |
1664 | 1669 | | |
1665 | 1670 | | |
| |||
0 commit comments