Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583221

Re: [PATCH 1/4] Documentation: w1_therm: clearly state about binary value for precision

From Mariusz Bialonczyk <manio@skyboo.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] Documentation: w1_therm: clearly state about binary value for precision
Date 2017-02-17 10:00 +0100
Message-ID <tbMyt-21X-3@gated-at.bofh.it> (permalink)
References <tbqxY-4dp-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 16 Feb 2017 10:05:36 +0100
Mariusz Bialonczyk <manio@skyboo.net> wrote:

> Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
> ---
>  Documentation/w1/slaves/w1_therm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/w1/slaves/w1_therm b/Documentation/w1/slaves/w1_therm
> index d1f93af..e10cd91 100644
> --- a/Documentation/w1/slaves/w1_therm
> +++ b/Documentation/w1/slaves/w1_therm
> @@ -42,6 +42,7 @@ SRAM, so it is reset when the sensor gets power-cycled.
>  To store the current precision configuration into EEPROM, the value 0
>  has to be written to the sysfs w1_slave file. Since the EEPROM has a limited
>  amount of writes (>50k), this command should be used wisely.
> +Note: this precision value has to be a binary one-byte value, not ASCII.
>  
>  The module parameter strong_pullup can be set to 0 to disable the
>  strong pullup, 1 to enable autodetection or 2 to force strong pullup.
> -- 
> 2.9.3
> 

Please skip this single patch. I was wrong about it.
w1_slave_store is using kstrtoint() so it is currently ok.

regards,
-- 
Mariusz Białończyk | xmpp/e-mail: manio@skyboo.net
http://manio.skyboo.net | https://github.com/manio

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] Documentation: w1_therm: clearly state about binary value for precision Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-16 10:30 +0100
  [PATCH 2/4] w1: add missing DS2413 documentation Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-16 10:30 +0100
  [PATCH 4/4] w1: add documentation for w1_ds2438 Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-16 10:30 +0100
  Re: [PATCH 1/4] Documentation: w1_therm: clearly state about binary  value for precision Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-17 10:00 +0100

csiph-web