Re: [PATCH] hwmon: (nct6775) Fix register for nct6799

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 15, 2023 at 03:58:31PM +0100, Ahmad Khalifa wrote:
> Datasheet and variable name point to 0xe6
> 
> Signed-off-by: Ahmad Khalifa <ahmad@xxxxxxxxxx>

Nice catch. Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/nct6775-platform.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
> 
> diff --git a/drivers/hwmon/nct6775-platform.c b/drivers/hwmon/nct6775-platform.c
> index ada867d6b98a..a409d7a0b813 100644
> --- a/drivers/hwmon/nct6775-platform.c
> +++ b/drivers/hwmon/nct6775-platform.c
> @@ -586,7 +586,7 @@ nct6775_check_fan_inputs(struct nct6775_data *data, struct nct6775_sio_data *sio
>  		int creb;
>  		int cred;
>  
> -		cre6 = sio_data->sio_inb(sio_data, 0xe0);
> +		cre6 = sio_data->sio_inb(sio_data, 0xe6);
>  
>  		sio_data->sio_select(sio_data, NCT6775_LD_12);
>  		cre0 = sio_data->sio_inb(sio_data, 0xe0);



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux