lkml.org 
[lkml]   [2020]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: w83627ehf crash in 5.6.0-rc2-00055-gca7e1fd1026c
From
Date
> It looks like not all chips have temp_label, so I think we need to change w83627ehf_is_visible
> which has:
>
> if (attr == hwmon_temp_input || attr == hwmon_temp_label)
> return 0444;
>
> to
> if (attr == hwmon_temp_input)
> return 0444;
> if (attr == hwmon_temp_label) {
> if (data->temp_label)
> return 0444;
> else
> return 0;
> }
>
> Does that work for you?
Yes, it works - sensors are displayed as they should be, with nothing in dmesg.

Thank you for so quick response!

--
Meelis Roos <mroos@linux.ee>

\
 
 \ /
  Last update: 2020-02-20 13:44    [W:0.352 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site