From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: PATCH: LM87 read retry tuning
Date: Thu, 19 May 2005 06:25:19 +0000 [thread overview]
Message-ID: <20041016113223.36593353.khali@linux-fr.org> (raw)
In-Reply-To: <4170478A.6060407@earthlink.net>
> This is a tiny patch to tune the lm87 read retry failure loop that was
> recently added. On my board, if I got one retry failure, I always got
> 3, so I increased the amount of delay before a retry.
>
> David Knierim
>
>
>
> --- kernel/chips/lm87.c.orig 2004-10-10 08:03:48.000000000 -0400
> +++ kernel/chips/lm87.c 2004-10-15 14:47:20.000000000 -0400
> @@ -492,10 +492,11 @@
>
> printk(KERN_WARNING "lm87.o: Read byte data failed, "
> "address 0x%02x\n", reg);
> - mdelay(i);
> + mdelay(i + 3);
> }
>
> /* <TODO> what to return in case of error? */
> + printk(KERN_ERR "lm87.o: All read byte retries failed!!\n");
> return 0;
> }
Looks like your e-mail client breaks patches, it won't apply. Please
either reconfigure it, change clients or provide the patch as an
attachement.
Thanks.
--
Jean Delvare
http://khali.linux-fr.org/
prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 PATCH: LM87 read retry tuning David Knierim
2005-05-19 6:25 ` Jean Delvare [this message]
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=20041016113223.36593353.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.