w1: ds1wm: silence interrupts on HW before claiming the interrupt
authorJohannes Poehlmann <johannes.poehlmann@izt-labs.de>
Tue, 25 Jul 2017 11:27:14 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:20:01 +0000 (17:20 +0200)
commit1d925f45d8301f6bf6a66d31fcd30b9580479c93
tree78a3bc0d7e76dc3298804fee472daf20066fe56e
parentc3248f0ee0615f7f43d3ad0f27006854b2bd325f
w1: ds1wm: silence interrupts on HW before claiming the interrupt

w1: ds1wm: silence interrupts on HW before claiming the interrupt.
This way avoid possible invalid interrupts in the initialization phase.

Signed-off-by: Johannes Poehlmann <johannes.poehlmann@izt-labs.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/ds1wm.c