Skip to content
Commit 052eb618 authored by Jeppe Odgaard's avatar Jeppe Odgaard Committed by Alberto Escolar
Browse files

drivers: adc: adc_ad559x: fix 5593 adc read



The AD5593 conversion result also contains the channel read and not just a
value:
| adc channel (3 bits) | adc value (12 bits) |

This value was not removed from the result before using it as an adc value.

Reuse the AD5592 code to fix the issue.

Signed-off-by: default avatarJeppe Odgaard <jeppe.odgaard@prevas.dk>
parent 7c3b66ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment