-
Evgeniy Polyakov authored
Added w1_read_block() and w1_write_block(). w1_therm.c now uses them. w1_therm: Chnaged snprintf to sprintf in w1_therm_read_bin() and added max_trying - number of tryings to read temperature before failng. By default it is 10. Added w1_therm_check_rom() - checks if read rom is in black list. If rom is in black list it is probably due to unsufficient of "power" in the sensor - either add strong pullup or connect it to Vcc. Signed-off-by:
Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
23e5e116