Skip to content

Commit 368da76

Browse files
thekhalifagroeck
authored andcommitted
hwmon: (nct6775) Fix register for nct6799
Datasheet and variable name point to 0xe6 Fixes: aee395b ("hwmon: (nct6755) Add support for NCT6799D") Signed-off-by: Ahmad Khalifa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 06c2afb commit 368da76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/nct6775-platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ nct6775_check_fan_inputs(struct nct6775_data *data, struct nct6775_sio_data *sio
586586
int creb;
587587
int cred;
588588

589-
cre6 = sio_data->sio_inb(sio_data, 0xe0);
589+
cre6 = sio_data->sio_inb(sio_data, 0xe6);
590590

591591
sio_data->sio_select(sio_data, NCT6775_LD_12);
592592
cre0 = sio_data->sio_inb(sio_data, 0xe0);

0 commit comments

Comments
 (0)