original_kernel/drivers/w1/slaves
Julien Folly 6eaafbb699 w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
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>
2018-10-15 20:50:32 +02:00
..
Kconfig
Makefile
w1_ds28e04.c
w1_ds28e17.c
w1_ds2405.c
w1_ds2406.c
w1_ds2408.c
w1_ds2413.c
w1_ds2423.c
w1_ds2431.c
w1_ds2433.c
w1_ds2438.c
w1_ds2780.c
w1_ds2780.h
w1_ds2781.c
w1_ds2781.h
w1_ds2805.c
w1_smem.c
w1_therm.c