F8000 support added to f71882fg driver, test please.

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

 



On Tue, 16 Dec 2008 19:16:32 +0100, Hans de Goede wrote:
> Jean Delvare wrote:
> > Just as I suspected. Hans, as you can see, fan4's speed is 0 in the
> > chip. So it's not a hardware issue, but a bug in your driver. Which I
> > presume the following patch would fix?
> > 
> > Fix fan4 for the F8000.
> > 
> > Signed-off-by: Jean Delvare <khali at linux-fr.org>
> > ---
> >  drivers/hwmon/f71882fg.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > --- linux-2.6.28-rc8.orig/drivers/hwmon/f71882fg.c	2008-12-16 17:42:05.000000000 +0100
> > +++ linux-2.6.28-rc8/drivers/hwmon/f71882fg.c	2008-12-16 18:14:52.000000000 +0100
> > @@ -982,7 +982,7 @@ static struct f71882fg_data *f71882fg_up
> >  
> >  		/* The f8000 can monitor 1 more fan, but has no pwm for it */
> >  		if (data->type == f8000)
> > -			data->fan[3] = f71882fg_read8(data,
> > +			data->fan[3] = f71882fg_read16(data,
> >  						F71882FG_REG_FAN(3));
> >  		if (data->type == f71882fg)
> >  			data->in_status = f71882fg_read8(data,
> > 
> 
> Good catch!
> 
> > Something to fold into hwmon/hwmon-f71882fg-13-add-f8000-support.patch
> > I presume.
> > 
> 
> Yes,
> 
> Updated version attached

Done.

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux