]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
w1: Fix slave count on 1-Wire bus (resend)
authorAlex A. Mihaylov <minimumlaw@rambler.ru>
Tue, 13 Jun 2017 15:57:56 +0000 (18:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 14:45:16 +0000 (16:45 +0200)
commit2c927c0c73fd9f6de9ff576e08cd59f13b9d0ef7
treef1d4b396bca148063cd5cbd4e2bc28293b5b07c5
parent998849967c57705b2cb013d4aea439e7e76e2d8a
w1: Fix slave count on 1-Wire bus (resend)

1-Wire bus have very fast algorith for exchange with single slave
device. Fix incorrect count of slave devices on connect second slave
device. This case on slave device probe() step we need use generic
(multislave) functions for read/write device.

Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c