Julien Folly
4ab1594e69
w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
...
[ Upstream commit 6eaafbb6998e999467cf78a76e155ee00e372b14 ]
IAD Register is yet readable trough the "iad" sys file.
A write to the "iad" sys file enables or disables the current
measurement, but it was not possible to get the measured value by
reading it.
Fix: %u in snprintf for unsigned values (vdd and vad)
Fix: Avoid possibles overflows (Usage of the 'count' variables)
Signed-off-by: Julien Folly <julien.folly@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-01 09:16:22 +01:00
..
Kconfig
power: supply: ds2760_battery: merge ds2760 supply driver with its w1 slave companion
2018-07-11 18:09:09 +02:00
Makefile
power: supply: ds2760_battery: merge ds2760 supply driver with its w1 slave companion
2018-07-11 18:09:09 +02:00
w1_ds28e04.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds28e17.c
add w1_ds28e17 driver for the DS28E17 Onewire to I2C master bridge
2017-10-04 10:29:22 +02:00
w1_ds2405.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2406.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2408.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2413.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2423.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2431.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2433.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2438.c
w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
2019-12-01 09:16:22 +01:00
w1_ds2780.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2780.h
W1: split master mutex to avoid deadlocks.
2012-06-13 16:38:40 -07:00
w1_ds2781.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_ds2781.h
W1: split master mutex to avoid deadlocks.
2012-06-13 16:38:40 -07:00
w1_ds2805.c
drivers: w1: Add 1w slave driver for DS28E05 EEPROM
2017-08-28 17:23:29 +02:00
w1_smem.c
w1: Add subsystem kernel public interface
2017-06-09 11:54:54 +02:00
w1_therm.c
w1: keep balance of mutex locks and refcnts
2017-11-08 14:26:50 +01:00