Commit 46faa01
net: phy: as21xxx: fix temperature monitor config parameter
The CFG_PARAM/DIRECT temperature monitor parameter is decimal 11 in the
AS21xxx firmware, so it must be encoded as 0xb rather than the hexadecimal
literal 0x11 used by the upstream define.
This value was verified against firmware 1.9.1 during hardware testing: the
configuration payload uses { 0x4, 11, 0x4, 0 } and the monitor returns valid
samples after configuration and start. The adjacent
IPC_CFG_PARAM_DIRECT_SDS_RESTART_AN (0x10) and
IPC_CFG_PARAM_DIRECT_WOL (0x12) values are unchanged because they were not
verified by this change.
Signed-off-by: Pietro Ameruoso <p.ameruoso@live.it>1 parent f4190b0 commit 46faa01
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments