Commit 9948b7a
committed
hw-mgmt: sensor: Fix for unexpected negative vout_min on lm5066i
By default in lm5066i VOUT_UV_WARN_LIMIT registrer == 0. Because of issue in
driver calculation formula it trasnsforms to -0.11V instead of 0, which is
not reasonable.
It can be fixed by writing 0 to *_in2_min sysfs attribute.
Bug: 4264364
Signed-off-by: Oleksandr Shamray <[email protected]>1 parent b6eb67c commit 9948b7a
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
976 | 987 | | |
977 | 988 | | |
978 | 989 | | |
| |||
0 commit comments