All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: Return code of i2c transaction ignored in lm87
Date: Thu, 19 May 2005 06:25:03 +0000	[thread overview]
Message-ID: <20040628215948.1d017a59.khali@linux-fr.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0406250822110.16214@malachi.lee.k12.nc.us>

> > Please take a look at what is done in w83l785ts and tell me why it
> > woudln't solve you problem, if it actually doesn't.
> > 
> Just took a look, and that seems very reasonable.  If I did this in 
> the LM87 driver would this be an acceptable patch?

Yes, it certainly would.

> I still would like some way of notifing user space of such an error, 
> but if I had too, I could follow the syslog and get this (hackish, but
> it would work).  OTOH, if I took the aproach of the w83l785ts (what a
> name (-;), but yet also added an error proc entry so that a user space
> app could (if they choose) detect the error would this be a bad thing?

Blame Winbond for the chip name! ;)

I wouldn't call it "a bad thing" but I merely don't see any benefit. OK,
the user-space app will know that read errors occured and some values
are "old" values. Eventually it'll let the user now. And then what?

What's more, the retry code in the driver should solve all intermitent
read errors. If errors are permanent then there won't be any readings at
all and the user will notice anyway. Your own problem may differ but
these are the two common (and still rare) cases users will encounter.

So I wouldn't support such a change, sorry.

-- 
Jean Delvare
http://khali.linux-fr.org/

  parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 Return code of i2c transaction ignored in lm87 James Olin Oden
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Mark Studebaker
2005-05-19  6:25 ` James Olin Oden
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare [this message]
2005-05-19  6:25 ` James Olin Oden
2005-05-19  6:25 ` James Olin Oden

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=20040628215948.1d017a59.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.