mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: "Dr. David Alan Gilbert" <linux@treblig.org>
Cc: linux-hwmon@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Chen Zhou <chenzhou10@huawei.com>
Subject: Re: w83627ehf crash in 5.6.0-rc2-00055-gca7e1fd1026c
Date: Thu, 20 Feb 2020 14:43:45 +0200	[thread overview]
Message-ID: <6050ed14-f7a6-cb99-7268-072129226d48@linux.ee> (raw)
In-Reply-To: <20200220121451.GA18071@gallifrey>

> 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>

  reply	other threads:[~2020-02-20 12:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-20 11:18 Meelis Roos
2020-02-20 12:14 ` Dr. David Alan Gilbert
2020-02-20 12:43   ` Meelis Roos [this message]
2020-02-20 13:57     ` Dr. David Alan Gilbert
2020-02-20 14:40       ` Guenter Roeck
2020-02-20 15:52         ` Dr. David Alan Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6050ed14-f7a6-cb99-7268-072129226d48@linux.ee \
    --to=mroos@linux.ee \
    --cc=chenzhou10@huawei.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@treblig.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®