w1: mxc_w1: Fix incorrect "presence" status
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 8 May 2014 07:56:37 +0000 (11:56 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:43:34 +0000 (17:43 -0700)
commit7cbcb136a7d703f1bd590979a3d07348fe1bc81d
treedc161ed7883bf6ad2aa02952b5015c2a95f4dd46
parent343fcb8c70d76967ba64493ca984e40baad9d0f6
w1: mxc_w1: Fix incorrect "presence" status

W1 reset_bus() should return zero if slave device is present.
This patch fix this issue.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/mxc_w1.c